JwtBearerOptions.Audience Property

Definition

Gets or sets a single valid audience value for any received OpenIdConnect token. This value is passed into TokenValidationParameters.ValidAudience if that property is empty.

public:
 property System::String ^ Audience { System::String ^ get(); void set(System::String ^ value); };
public string Audience { get; set; }
public string? Audience { get; set; }
member this.Audience : string with get, set
Public Property Audience As String

Property Value

The expected audience for any received OpenIdConnect token.

Applies to