Share via


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

See Also

Reference

JwtSecurityToken Class

System.IdentityModel.Tokens Namespace