ClaimsIdentityFactory<TUser, TKey> Class
Creates a ClaimsIdentity from a user.
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Microsoft.AspNet.Identity.ClaimsIdentityFactory<TUser, TKey>
Microsoft.AspNet.Identity.ClaimsIdentityFactory<TUser>
| Name | Description | |
|---|---|---|
![]() | ClaimsIdentityFactory<TUser, TKey>() | Initializes a new instance of the ClaimsIdentityFactory<TUser, TKey> class. |
| Name | Description | |
|---|---|---|
![]() | RoleClaimType | Gets or sets the claim type used for role claims. |
![]() | SecurityStampClaimType | Gets or sets the claim type used for the user security stamp. |
![]() | UserIdClaimType | Gets or sets the claim type used for the user identity. |
![]() | UserNameClaimType | Gets or sets the claim type used for the user name. |
| Name | Description | |
|---|---|---|
![]() | ConvertIdToString(TKey) | Converts the key to a string. By default just calls ToString() method. |
![]() | CreateAsync(UserManager<TUser, TKey>, TUser, String) | Asynchronously creates a ClaimsIdentity from a user. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


