TokenValidationParameters.RequireAudience 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 value indicating whether SAML or JWT tokens must have at least one AudienceRestriction.
The default is true
.
public bool RequireAudience { get; set; }
member this.RequireAudience : bool with get, set
Public Property RequireAudience As Boolean
Property Value
Remarks
If set to false and the Audience is null, Audience validation will be skipped. If set to false and the Audience is not null, the Audience will still be validated.