SignInManager<TUser, TKey>.SendTwoFactorCodeAsync Method (String)

 

Send a two factor code to a user

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

Syntax

public virtual Task<bool> SendTwoFactorCodeAsync(
    string provider
)
public:
virtual Task<bool>^ SendTwoFactorCodeAsync(
    String^ provider
)
abstract SendTwoFactorCodeAsync : 
        provider:string -> Task<bool>
override SendTwoFactorCodeAsync : 
        provider:string -> Task<bool>
Public Overridable Function SendTwoFactorCodeAsync (
    provider As String
) As Task(Of Boolean)

Parameters

Return Value

Type: System.Threading.Tasks.Task<Boolean>

See Also

SignInManager<TUser, TKey> Class
Microsoft.AspNet.Identity.Owin Namespace

Return to top