AuthenticationManagerExtensions.TwoFactorBrowserRememberedAsync Method (IAuthenticationManager, String)
Asynchronously determines whether there is a TwoFactorRememberBrowser cookie for a user.
Namespace: Microsoft.Owin.Security
Assembly: Microsoft.AspNet.Identity.Owin (in Microsoft.AspNet.Identity.Owin.dll)
Syntax
public static Task<bool> TwoFactorBrowserRememberedAsync(
this IAuthenticationManager manager,
string userId
)
public:
[ExtensionAttribute]
static Task<bool>^ TwoFactorBrowserRememberedAsync(
IAuthenticationManager^ manager,
String^ userId
)
static member TwoFactorBrowserRememberedAsync :
manager:IAuthenticationManager *
userId:string -> Task<bool>
<ExtensionAttribute>
Public Shared Function TwoFactorBrowserRememberedAsync (
manager As IAuthenticationManager,
userId As String
) As Task(Of Boolean)
Parameters
manager
Type: Microsoft.Owin.Security.IAuthenticationManagerThe authentication manager.
userId
Type: System.StringThe user ID.
Return Value
Type: System.Threading.Tasks.Task<Boolean>
A task that returns true if there is a TwoFactorRememberBrowser cookie for a user; otherwise, false.
See Also
AuthenticationManagerExtensions Class
Microsoft.Owin.Security Namespace
ASP.NET Identity
Return to top