IUserClaimsPrincipalFactory<TUser> Interface

Definition

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

C#
public interface IUserClaimsPrincipalFactory<TUser> where TUser : class

Type Parameters

TUser

The type encapsulating a user.

Derived

Methods

CreateAsync(TUser)

Creates a ClaimsPrincipal from an user asynchronously.

Applies to

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