UserManager<TUser>.GetValidTwoFactorProvidersAsync(TUser) Method

Definition

Gets a list of valid two factor token providers for the specified user, as an asynchronous operation.

C#
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IList<string>> GetValidTwoFactorProvidersAsync (TUser user);

Parameters

user
TUser

The user the whose two factor authentication providers will be returned.

Returns

The Task that represents result of the asynchronous operation, a list of two factor authentication providers for the specified user.

Applies to

منتج الإصدارات
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