Udostępnij za pośrednictwem


JwtPayload.Claims Property

Definition

Gets a IEnumerable<T>Claim for each JSON { name, value }.

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

Each Claim(s) returned will have the Type translated according to the mapping found in InboundClaimTypeMap. Adding and removing to InboundClaimTypeMap will affect the value of the Type.

Issuer and OriginalIssuer will be set to the value of Iss ( Empty if null).

Applies to