SignInManager<TUser, TKey>.SignInAsync Method (TUser, Boolean, Boolean)
Creates a user identity and then signs the identity using the AuthenticationManager
Namespace: Microsoft.AspNet.Identity.Owin
Assembly: Microsoft.AspNet.Identity.Owin (in Microsoft.AspNet.Identity.Owin.dll)
Syntax
public virtual Task SignInAsync(
TUser user,
bool isPersistent,
bool rememberBrowser
)
public:
virtual Task^ SignInAsync(
TUser user,
bool isPersistent,
bool rememberBrowser
)
abstract SignInAsync :
user:'TUser *
isPersistent:bool *
rememberBrowser:bool -> Task
override SignInAsync :
user:'TUser *
isPersistent:bool *
rememberBrowser:bool -> Task
Public Overridable Function SignInAsync (
user As TUser,
isPersistent As Boolean,
rememberBrowser As Boolean
) As Task
Parameters
- user
Type: TUser
- isPersistent
Type: System.Boolean
- rememberBrowser
Type: System.Boolean
Return Value
Type: System.Threading.Tasks.Task
See Also
SignInManager<TUser, TKey> Class
Microsoft.AspNet.Identity.Owin Namespace
Return to top