Sdílet prostřednictvím


TokenValidationParameters.AudienceValidator Property

Definition

Gets or sets a delegate that will be used to validate the audience.

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

Property Value

Remarks

If set, this delegate will be called to validate the 'audience', instead of default processing. This means that no default 'audience' validation will occur. Even if ValidateAudience is false, this delegate will still be called.

Applies to