JwtSecurityToken.Claims Property
Gets the Claim(s) for this token.
Namespace: System.IdentityModel.Tokens
Assembly: System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)
Syntax
'Declaration
Public ReadOnly Property Claims As IEnumerable(Of Claim)
public IEnumerable<Claim> Claims { get; }
public:
property IEnumerable<Claim^>^ Claims {
IEnumerable<Claim^>^ get ();
}
member Claims : IEnumerable<Claim> with get
function get Claims () : IEnumerable<Claim>
Property Value
Type: System.Collections.Generic.IEnumerable<Claim>
Returns IEnumerable<T>.
Remarks
The Claim(s) returned will not have the Type translated according to InboundClaimTypeMap.
.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.