ValidationParameters.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.
Allows overriding the delegate that will be used to validate the audience.
public Microsoft.IdentityModel.Tokens.Experimental.AudienceValidationDelegate AudienceValidator { get; set; }
member this.AudienceValidator : Microsoft.IdentityModel.Tokens.Experimental.AudienceValidationDelegate with get, set
Public Property AudienceValidator As AudienceValidationDelegate
Property Value
The AudienceValidationDelegate used to validate the issuer of a token
Exceptions
Thrown when the value is set as null.
Remarks
If set, this delegate will be responsible for validating the 'audience', instead of default processing. This means that no default 'audience' validation will occur.