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