IssuerSigningKeyValidatorUsingConfiguration Delegate

Definition

Validates the signing key using additional configuration.

public delegate bool IssuerSigningKeyValidatorUsingConfiguration(SecurityKey securityKey, SecurityToken securityToken, TokenValidationParameters validationParameters, BaseConfiguration configuration);
type IssuerSigningKeyValidatorUsingConfiguration = delegate of SecurityKey * SecurityToken * TokenValidationParameters * BaseConfiguration -> bool
Public Delegate Function IssuerSigningKeyValidatorUsingConfiguration(securityKey As SecurityKey, securityToken As SecurityToken, validationParameters As TokenValidationParameters, configuration As BaseConfiguration) As Boolean 

Parameters

securityKey
SecurityKey

The SecurityKey used to sign the SecurityToken.

securityToken
SecurityToken

The SecurityToken being validated.

validationParameters
TokenValidationParameters

The TokenValidationParameters to be used for validating the token.

configuration
BaseConfiguration

The configuration required for validation.

Return Value

true if the signing key is valid; otherwise, false.

Remarks

If both IssuerSigningKeyResolverUsingConfiguration and IssuerSigningKeyResolver are set, IssuerSigningKeyResolverUsingConfiguration takes priority.

Applies to