UserManager<TUser>.GetValidTwoFactorProvidersAsync(TUser) Method
Definition
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.
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.