IUserClaimsPrincipalFactory<TUser> Interface
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 an abstraction for a factory to create a ClaimsPrincipal from a user.
generic <typename TUser>
where TUser : classpublic interface class IUserClaimsPrincipalFactory
C#
public interface IUserClaimsPrincipalFactory<TUser> where TUser : class
type IUserClaimsPrincipalFactory<'User (requires 'User : null)> = interface
Public Interface IUserClaimsPrincipalFactory(Of TUser)
- TUser
The type encapsulating a user.
- Derived
Create |
Creates a ClaimsPrincipal from an user asynchronously. |
Proizvod | Verzije |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |