Share via


JwtSecurityTokenHandler.InboundClaimTypeMap Property

Gets or sets the InboundClaimTypeMap that is used when setting the Type for claims in the ClaimsPrincipal extracted when validating a JwtSecurityToken.The Type is set to the JSON claim 'name' after translating using this mapping.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel.Tokens.Jwt (in System.IdentityModel.Tokens.Jwt.dll)

Syntax

'Declaration
Public Shared Property InboundClaimTypeMap As IDictionary(Of String, String)
public static IDictionary<string, string> InboundClaimTypeMap { get; set; }
public:
static property IDictionary<String^, String^>^ InboundClaimTypeMap {
    IDictionary<String^, String^>^ get ();
    void set (IDictionary<String^, String^>^ value);
}
static member InboundClaimTypeMap : IDictionary<string, string> with get, set
static function get InboundClaimTypeMap () : IDictionary<String, String>
static function set InboundClaimTypeMap (value : IDictionary<String, String>)

Property Value

Type: System.Collections.Generic.IDictionary<String, String>
Returns IDictionary<TKey, TValue>.

Exceptions

Exception Condition
ArgumentNullException

'value is null.

.NET Framework Security

See Also

Reference

JwtSecurityTokenHandler Class

System.IdentityModel.Tokens Namespace