共用方式為


JwtBearerAuthenticationOptions.AllowedAudiences Property

 

Gets or sets the allowed audiences an inbound JWT will be checked against.

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

Syntax

public IEnumerable<string> AllowedAudiences { get; set; }
public:
property IEnumerable<String^>^ AllowedAudiences {
    IEnumerable<String^>^ get();
    void set(IEnumerable<String^>^ value);
}
member AllowedAudiences : IEnumerable<string> with get, set
Public Property AllowedAudiences As IEnumerable(Of String)

Property Value

Type: System.Collections.Generic.IEnumerable<String>

The allowed audiences.

See Also

JwtBearerAuthenticationOptions Class
Microsoft.Owin.Security.Jwt Namespace

Return to top