ClaimsIdentityOptions Class

Definition

Options used to configure the claim types used for well known claims.

public ref class ClaimsIdentityOptions
public class ClaimsIdentityOptions
type ClaimsIdentityOptions = class
Public Class ClaimsIdentityOptions
Inheritance
ClaimsIdentityOptions

Constructors

ClaimsIdentityOptions()

Properties

EmailClaimType

Gets or sets the ClaimType used for the user email claim. Defaults to Email.

RoleClaimType

Gets or sets the ClaimType used for a Role claim. Defaults to Role.

SecurityStampClaimType

Gets or sets the ClaimType used for the security stamp claim. Defaults to "AspNet.Identity.SecurityStamp".

UserIdClaimType

Gets or sets the ClaimType used for the user identifier claim. Defaults to NameIdentifier.

UserNameClaimType

Gets or sets the ClaimType used for the user name claim. Defaults to Name.

Applies to