Delen via


IUserClaimsPrincipalFactory<TUser> Interface

Definition

Provides an abstraction for a factory to create a ClaimsPrincipal from a user.

generic <typename TUser>
 where TUser : classpublic interface class IUserClaimsPrincipalFactory
public interface IUserClaimsPrincipalFactory<TUser> where TUser : class
type IUserClaimsPrincipalFactory<'User (requires 'User : null)> = interface
Public Interface IUserClaimsPrincipalFactory(Of TUser)

Type Parameters

TUser

The type encapsulating a user.

Derived

Methods

CreateAsync(TUser)

Creates a ClaimsPrincipal from an user asynchronously.

Applies to