SignInManager<TUser, TKey>.TwoFactorSignInAsync Method (String, String, Boolean, Boolean)
Two factor verification step
Namespace: Microsoft.AspNet.Identity.Owin
Assembly: Microsoft.AspNet.Identity.Owin (in Microsoft.AspNet.Identity.Owin.dll)
Syntax
public virtual Task<SignInStatus> TwoFactorSignInAsync(
string provider,
string code,
bool isPersistent,
bool rememberBrowser
)
public:
virtual Task<SignInStatus>^ TwoFactorSignInAsync(
String^ provider,
String^ code,
bool isPersistent,
bool rememberBrowser
)
abstract TwoFactorSignInAsync :
provider:string *
code:string *
isPersistent:bool *
rememberBrowser:bool -> Task<SignInStatus>
override TwoFactorSignInAsync :
provider:string *
code:string *
isPersistent:bool *
rememberBrowser:bool -> Task<SignInStatus>
Public Overridable Function TwoFactorSignInAsync (
provider As String,
code As String,
isPersistent As Boolean,
rememberBrowser As Boolean
) As Task(Of SignInStatus)
Parameters
- provider
Type: System.String
- code
Type: System.String
- isPersistent
Type: System.Boolean
- rememberBrowser
Type: System.Boolean
Return Value
Type: System.Threading.Tasks.Task<SignInStatus>
See Also
SignInManager<TUser, TKey> Class
Microsoft.AspNet.Identity.Owin Namespace
Return to top