Delen via


TokenValidationParameters.RequireAudience Property

Definition

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.

Applies to