Share via


SignInManagerExtensions.TwoFactorSignIn<TUser, TKey> Method (SignInManager<TUser, TKey>, 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 static SignInStatus TwoFactorSignIn<TUser, TKey>(
    this SignInManager<TUser, TKey> manager,
    string provider,
    string code,
    bool isPersistent,
    bool rememberBrowser
)
where TUser : class, IUser<TKey>
where TKey : object, IEquatable<TKey>
public:
generic<typename TUser, typename TKey>
where TUser : ref class, IUser<TKey>
where TKey : Object, IEquatable<TKey>
[ExtensionAttribute]
static SignInStatus TwoFactorSignIn(
    SignInManager<TUser, TKey>^ manager,
    String^ provider,
    String^ code,
    bool isPersistent,
    bool rememberBrowser
)
static member TwoFactorSignIn<'TUser, 'TKey when 'TUser : not struct and IUser<'TKey> when 'TKey : Object and IEquatable<'TKey>> : 
        manager:SignInManager<'TUser, 'TKey> *
        provider:string *
        code:string *
        isPersistent:bool *
        rememberBrowser:bool -> SignInStatus
<ExtensionAttribute>
Public Shared Function TwoFactorSignIn(Of TUser As { Class, IUser(Of TKey) }, TKey As { Object, IEquatable(Of TKey) }) (
    manager As SignInManager(Of TUser, TKey),
    provider As String,
    code As String,
    isPersistent As Boolean,
    rememberBrowser As Boolean
) As SignInStatus

Parameters

Return Value

Type: Microsoft.AspNet.Identity.Owin.SignInStatus

See Also

SignInManagerExtensions Class
Microsoft.AspNet.Identity.Owin Namespace

Return to top