Share via


UserManager<TUser>.GetValidTwoFactorProvidersAsync(TUser) Method

Definition

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

public:
 virtual System::Threading::Tasks::Task<System::Collections::Generic::IList<System::String ^> ^> ^ GetValidTwoFactorProvidersAsync(TUser user);
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IList<string>> GetValidTwoFactorProvidersAsync (TUser user);
abstract member GetValidTwoFactorProvidersAsync : 'User -> System.Threading.Tasks.Task<System.Collections.Generic.IList<string>>
override this.GetValidTwoFactorProvidersAsync : 'User -> System.Threading.Tasks.Task<System.Collections.Generic.IList<string>>
Public Overridable Function GetValidTwoFactorProvidersAsync (user As TUser) As Task(Of IList(Of String))

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