Partager via


JsonWebToken.Claims Property

Definition

Gets a IEnumerable<T> where each claim in the JWT { name, value } is returned as a Claim.

public virtual System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> Claims { get; }
member this.Claims : seq<System.Security.Claims.Claim>
Public Overridable ReadOnly Property Claims As IEnumerable(Of Claim)

Property Value

Remarks

A Claim requires each value to be represented as a string. If the value was not a string, then Type contains the json type. JsonClaimValueTypes and ClaimValueTypes to determine the json type.

Applies to