JwtSecurityTokenRequirement.RoleClaimType Property

Gets or sets the String the JwtSecurityTokenHandler passes as a parameter to ClaimsIdentity.This defines the Claim(s) that will be considered when answering IsInRole

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

Syntax

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

Property Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

JwtSecurityTokenRequirement Class

System.IdentityModel.Tokens Namespace