UserClaimsPrincipalFactory<TUser> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides methods to create a claims principal for a given user.
generic <typename TUser>
where TUser : classpublic ref class UserClaimsPrincipalFactory : Microsoft::AspNetCore::Identity::IUserClaimsPrincipalFactory<TUser>
public class UserClaimsPrincipalFactory<TUser> : Microsoft.AspNetCore.Identity.IUserClaimsPrincipalFactory<TUser> where TUser : class
type UserClaimsPrincipalFactory<'User (requires 'User : null)> = class
interface IUserClaimsPrincipalFactory<'User (requires 'User : null)>
Public Class UserClaimsPrincipalFactory(Of TUser)
Implements IUserClaimsPrincipalFactory(Of TUser)
- TUser
The type used to represent a user.
- Inheritance
-
UserClaimsPrincipalFactory<TUser>
- Derived
- Implements
User |
Initializes a new instance of the UserClaimsPrincipalFactory<TUser> class. |
Options |
Gets the IdentityOptions for this factory. |
User |
Gets the UserManager<TUser> for this factory. |
Create |
Creates a ClaimsPrincipal from an user asynchronously. |
Generate |
Generate the claims for a user. |