9 references to DefaultRoleClaimType
Microsoft.AspNetCore.Authentication (2)
TicketSerializer.cs (2)
87WriteWithDefault(writer, identity.RoleClaimType, ClaimsIdentity.DefaultRoleClaimType); 187var roleClaimType = ReadWithDefault(reader, ClaimsIdentity.DefaultRoleClaimType);
Microsoft.AspNetCore.Components.Authorization (1)
AuthenticationStateData.cs (1)
26public string RoleClaimType { get; set; } = ClaimsIdentity.DefaultRoleClaimType;
System.Security.Claims (6)
System\Security\Claims\Claim.cs (2)
76_type = ClaimsIdentity.DefaultRoleClaimType; 424else if (string.Equals(_type, ClaimsIdentity.DefaultRoleClaimType))
System\Security\Claims\ClaimsIdentity.cs (4)
40private string _roleClaimType = DefaultRoleClaimType; 157_roleClaimType = !string.IsNullOrEmpty(roleType) ? roleType : (claimsIdentity != null ? claimsIdentity._roleClaimType : DefaultRoleClaimType); 728_roleClaimType = ClaimsIdentity.DefaultRoleClaimType; 821if (!string.Equals(_roleClaimType, ClaimsIdentity.DefaultRoleClaimType, StringComparison.Ordinal))