Sdílet prostřednictvím


TokenValidationParameters.IssuerValidator Property

Definition

Gets or sets a delegate that will be used to validate the issuer of the token.

public Microsoft.IdentityModel.Tokens.IssuerValidator IssuerValidator { get; set; }
member this.IssuerValidator : Microsoft.IdentityModel.Tokens.IssuerValidator with get, set
Public Property IssuerValidator As IssuerValidator

Property Value

Remarks

If set, this delegate will be called to validate the 'issuer' of the token, instead of default processing. This means that no default 'issuer' validation will occur. Even if ValidateIssuer is false, this delegate will still be called. If both IssuerValidatorUsingConfiguration and IssuerValidator are set, IssuerValidatorUsingConfiguration takes priority.

Applies to