JwtSecurityTokenRequirement.NameClaimType Property

Gets or sets the String the JwtSecurityTokenHandler passes as a parameter to ClaimsIdentity.This defines the Type to match when finding the Value that is used for the Name property.

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.

.NET Framework Security

See Also

Reference

JwtSecurityTokenRequirement Class

System.IdentityModel.Tokens Namespace