共用方式為


TokenValidationParameters.IssuerValidatorUsingConfiguration Property

Definition

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

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

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. This delegate should be used if properties from the configuration retrieved from the authority are necessary to validate the issuer. If both IssuerValidatorUsingConfiguration and IssuerValidator are set, IssuerValidatorUsingConfiguration takes priority.

Applies to