IssuerValidator Delegate

Definition

Validates the issuer of the security token.

public delegate string IssuerValidator(string issuer, SecurityToken securityToken, TokenValidationParameters validationParameters);
type IssuerValidator = delegate of string * SecurityToken * TokenValidationParameters -> string
Public Delegate Function IssuerValidator(issuer As String, securityToken As SecurityToken, validationParameters As TokenValidationParameters) 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.

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