Share via


SignedHttpRequestValidationParameters Class

Definition

Defines a set of parameters that are used by a SignedHttpRequestHandler when validating a SignedHttpRequest.

public class SignedHttpRequestValidationParameters
type SignedHttpRequestValidationParameters = class
Public Class SignedHttpRequestValidationParameters
Inheritance
SignedHttpRequestValidationParameters

Constructors

SignedHttpRequestValidationParameters()

Fields

DefaultSignedHttpRequestLifetime

Default value for the SignedHttpRequestLifetime.

Properties

AcceptUnsignedHeaders

Gets or sets a value indicating whether the unsigned headers are accepted or not.

AcceptUnsignedQueryParameters

Gets or sets a value indicating whether the unsigned query parameters are accepted or not.

AllowedDomainsForJkuRetrieval

Gets or sets a list of allowed domains for 'jku' claim retrieval. The domains are not directly compared with the 'jku' claim. Allowed domain would be deemed valid if the host specified in the 'jku' claim ends with the domain value.

AllowResolvingPopKeyFromJku

Gets or sets a value indicating whether PoP key can be resolved from 'jku' claim. If you set this property to true, you must set values in AllowedDomainsForJkuRetrieval.

ClaimsToValidateWhenPresent

Gets or sets the claims to validate if present.

CnfDecryptionKeys

Gets or sets a collection of SecurityKey used for the 'cnf' claim decryption.

CnfDecryptionKeysResolverAsync

Gets or sets the CnfDecryptionKeysResolverAsync delegate.

HttpClientProvider

Gets or sets the HttpClientProvider delegate.

NonceValidatorAsync

Gets or sets the NonceValidatorAsync delegate.

PopKeyResolverAsync

Gets or sets the PopKeyResolverAsync delegate.

PopKeyResolverFromKeyIdAsync

Gets or sets the PopKeyResolverFromKeyIdAsync delegate.

ReplayValidatorAsync

Gets or sets the ReplayValidatorAsync delegate.

RequireHttpsForJkuResourceRetrieval

Gets or sets a value indicating whether TLS is required when obtaining a JWK set using the 'jku' claim.

SignatureValidatorAsync

Gets or sets the SignatureValidatorAsync delegate.

SignedHttpRequestLifetime

Gets or sets the signed http request lifetime.

TokenHandler

Gets or sets the TokenHandler to AccessToken inside the SignedHttpRequest.

ValidateB

Gets or sets a value indicating whether the B claim should be validated or not.

ValidateH

Gets or sets a value indicating whether the H claim should be validated or not.

ValidateM

Gets or sets a value indicating whether the M claim should be validated or not.

ValidateP

Gets or sets a value indicating whether the P claim should be validated or not.

ValidatePresentClaims

Gets or sets a value indicating whether claims in ClaimsToValidateWhenPresent should be validated if present.

ValidateQ

Gets or sets a value indicating whether the Q claim should be validated or not.

ValidateTs

Gets or sets a value indicating whether the Ts claim should be validated or not.

ValidateU

Gets or sets a value indicating whether the U claim should be validated or not.

Applies to