4 references to Role
dotnet-user-jwts (1)
Helpers\JwtIssuer.cs (1)
41
identity.AddClaims(rolesToAdd.Select(r => new Claim(ClaimTypes.
Role
, r)));
Microsoft.Extensions.Identity.Core (2)
ClaimsIdentityOptions.cs (2)
14
/// Gets or sets the ClaimType used for a Role claim. Defaults to <see cref="ClaimTypes.
Role
"/>.
16
public string RoleClaimType { get; set; } = ClaimTypes.
Role
;
System.Security.Claims (1)
System\Security\Claims\ClaimsIdentity.cs (1)
45
public const string DefaultRoleClaimType = ClaimTypes.
Role
;