Udostępnij za pośrednictwem


WindowsAzureActiveDirectoryBearerAuthenticationOptions.Audience Property

 

Note: This API is now obsolete.

Gets or sets the expected audience for any received JWT token.

Namespace:   Microsoft.Owin.Security.ActiveDirectory
Assembly:  Microsoft.Owin.Security.ActiveDirectory (in Microsoft.Owin.Security.ActiveDirectory.dll)

Syntax

[ObsoleteAttribute("Use TokenValidationParameters.ValidAudience", 
    false)]
public string Audience { get; set; }
public:
[ObsoleteAttribute("Use TokenValidationParameters.ValidAudience", 
    false)]
property String^ Audience {
    String^ get();
    void set(String^ value);
}
[<ObsoleteAttribute("Use TokenValidationParameters.ValidAudience",
    false)>]
member Audience : string with get, set
<ObsoleteAttribute("Use TokenValidationParameters.ValidAudience",
    False)>
Public Property Audience As String

Property Value

Type: System.String

The expected audience for any received JWT token.

See Also

WindowsAzureActiveDirectoryBearerAuthenticationOptions Class
Microsoft.Owin.Security.ActiveDirectory Namespace

Return to top