JwtSecurityTokenHandler.RoleClaimType 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 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.

Remarks

Controls the Claim(s) returned from IsInRole.

Each Claim returned will have a Type equal to RoleClaimType.

.NET Framework Security

See Also

Reference

JwtSecurityTokenHandler Class

System.IdentityModel.Tokens Namespace