JwtSecurityTokenHandler.NameClaimType Property

Gets or sets the String passed to ClaimsIdentity.

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

Syntax

'Declaration
Public Property NameClaimType As String
public string NameClaimType { get; set; }
public:
property String^ NameClaimType {
    String^ get ();
    void set (String^ value);
}
member NameClaimType : string with get, set
function get NameClaimType () : String 
function set NameClaimType (value : String)

Property Value

Type: System.String
Returns String.

Remarks

Controls the value Name property will return. It will return the first Value where the Type equals NameClaimType.

.NET Framework Security

See Also

Reference

JwtSecurityTokenHandler Class

System.IdentityModel.Tokens Namespace