ClaimsIdentityOptions ClaimsIdentityOptions ClaimsIdentityOptions Class

Definition

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

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

Constructors

ClaimsIdentityOptions() ClaimsIdentityOptions() ClaimsIdentityOptions()

Properties

RoleClaimType RoleClaimType RoleClaimType

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

SecurityStampClaimType SecurityStampClaimType SecurityStampClaimType

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

UserIdClaimType UserIdClaimType UserIdClaimType

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

UserNameClaimType UserNameClaimType UserNameClaimType

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

Applies to