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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.