ClaimsIdentityOptions Class¶
Options used to configure the claim types used for well known claims.
- Namespace
Microsoft.AspNetCore.Identity
- Assemblies
- Microsoft.AspNetCore.Identity
Syntax¶
public class ClaimsIdentityOptions
-
class
Microsoft.AspNetCore.Identity.
ClaimsIdentityOptions
Properties¶
-
Microsoft.AspNetCore.Identity.ClaimsIdentityOptions.
RoleClaimType
¶ Gets or sets the ClaimType used for a Role claim.
Return type: System.String public string RoleClaimType { get; set; }
-
Microsoft.AspNetCore.Identity.ClaimsIdentityOptions.
SecurityStampClaimType
¶ Gets or sets the ClaimType used for the security stamp claim..
Return type: System.String public string SecurityStampClaimType { get; set; }
-
Microsoft.AspNetCore.Identity.ClaimsIdentityOptions.
UserIdClaimType
¶ Gets or sets the ClaimType used for the user identifier claim.
Return type: System.String public string UserIdClaimType { get; set; }
-
Microsoft.AspNetCore.Identity.ClaimsIdentityOptions.
UserNameClaimType
¶ Gets or sets the ClaimType used for the user name claim.
Return type: System.String public string UserNameClaimType { get; set; }
-