JwtSecurityTokenHandler.OutboundClaimTypeMap Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.