TokenValidationParameters.AudienceValidator Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.