UserManager<TUser>.GetValidTwoFactorProvidersAsync(TUser) Method
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);
C#
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))
- user
- TUser
The user the whose two factor authentication providers will be returned.
The Task that represents result of the asynchronous operation, a list of two factor authentication providers for the specified user.
منتج | الإصدارات |
---|---|
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 |