JwtSecurityTokenHandler.OutboundClaimTypeMap Property

Definition

Gets or sets the OutboundClaimTypeMap which is used when creating a JwtSecurityToken from Claim(s).

The JSON claim 'name' value is set to Type after translating using this mapping.

The default value is ClaimTypeMapping.OutboundClaimTypeMap

public System.Collections.Generic.IDictionary<string,string> OutboundClaimTypeMap { get; set; }
member this.OutboundClaimTypeMap : System.Collections.Generic.IDictionary<string, string> with get, set
Public Property OutboundClaimTypeMap As IDictionary(Of String, String)

Property Value

Exceptions

'value' is null.

Remarks

This mapping is applied only when using AddClaim(Claim) or AddClaims(IEnumerable<Claim>). Adding values directly will not result in translation.

Applies to