JwtSecurityToken.Audience Property

Gets the 'value' of the audience claim from JSON in the form of { aud, 'value' }.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)

Syntax

'Declaration
Public ReadOnly Property Audience As String
public string Audience { get; }
public:
property String^ Audience {
    String^ get ();
}
member Audience : string with get
function get Audience () : String

Property Value

Type: System.String
Returns String.

Remarks

If the audience claim is not found, null is returned.

.NET Framework Security

See Also

Reference

JwtSecurityToken Class

System.IdentityModel.Tokens Namespace