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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.