Compartir a través de


IssuerValidatorUsingConfiguration Delegate

Definition

Validates the issuer using additional configuration.

public delegate string IssuerValidatorUsingConfiguration(string issuer, SecurityToken securityToken, TokenValidationParameters validationParameters, BaseConfiguration configuration);
type IssuerValidatorUsingConfiguration = delegate of string * SecurityToken * TokenValidationParameters * BaseConfiguration -> string
Public Delegate Function IssuerValidatorUsingConfiguration(issuer As String, securityToken As SecurityToken, validationParameters As TokenValidationParameters, configuration As BaseConfiguration) As String 

Parameters

issuer
String

The issuer to be validated.

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

The validated issuer to use when creating claims.

Remarks

The delegate should return a non-null string that represents the issuer. If null, a default value will be used. If both IssuerValidatorUsingConfiguration and IssuerValidator are set, IssuerValidatorUsingConfiguration takes priority.

Applies to