UserManager<TUser, TKey>.TwoFactorProviders Property

Gets the registered two-factor authentication providers for users by their ID.

Namespace:  Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

'Declaration
Public ReadOnly Property TwoFactorProviders As IDictionary(Of String, IUserTokenProvider(Of TUser, TKey))
    Get
'Usage
Dim instance As UserManager 
Dim value As IDictionary(Of String, IUserTokenProvider(Of TUser, TKey))

value = instance.TwoFactorProviders
public IDictionary<string, IUserTokenProvider<TUser, TKey>> TwoFactorProviders { get; }
public:
property IDictionary<String^, IUserTokenProvider<TUser, TKey>^>^ TwoFactorProviders {
    IDictionary<String^, IUserTokenProvider<TUser, TKey>^>^ get ();
}
member TwoFactorProviders : IDictionary<string, IUserTokenProvider<'TUser, 'TKey>>
function get TwoFactorProviders () : IDictionary<String, IUserTokenProvider<TUser, TKey>>

Property Value

Type: System.Collections.Generic.IDictionary<String, IUserTokenProvider<TUser, TKey>>
The registered two-factor authentication providers for users by their ID.

See Also

Reference

UserManager<TUser, TKey> Class

Microsoft.AspNet.Identity Namespace

Other Resources

ASP.NET Identity