SignInManagerExtensions Class

 

Extension methods for SignInManager/>

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

System.Object
  Microsoft.AspNet.Identity.Owin.SignInManagerExtensions

public static class SignInManagerExtensions

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateUserIdentity<TUser, TKey>(SignInManager<TUser, TKey>, TUser)

Called to generate the ClaimsIdentity for the user, override to add additional claims before SignIn

System_CAPS_pubmethodSystem_CAPS_staticExternalSignIn<TUser, TKey>(SignInManager<TUser, TKey>, ExternalLoginInfo, Boolean)

Sign the user in using an associated external login

System_CAPS_pubmethodSystem_CAPS_staticGetVerifiedUserId<TUser, TKey>(SignInManager<TUser, TKey>)

Get the user id that has been verified already or null.

System_CAPS_pubmethodSystem_CAPS_staticHasBeenVerified<TUser, TKey>(SignInManager<TUser, TKey>)

Has the user been verified (ie either via password or external login)

System_CAPS_pubmethodSystem_CAPS_staticPasswordSignIn<TUser, TKey>(SignInManager<TUser, TKey>, String, String, Boolean, Boolean)

Sign in the user in using the user name and password

System_CAPS_pubmethodSystem_CAPS_staticSendTwoFactorCode<TUser, TKey>(SignInManager<TUser, TKey>, String)

Send a two factor code to a user

System_CAPS_pubmethodSystem_CAPS_staticSignIn<TUser, TKey>(SignInManager<TUser, TKey>, TUser, Boolean, Boolean)

Creates a user identity and then signs the identity using the AuthenticationManager

System_CAPS_pubmethodSystem_CAPS_staticTwoFactorSignIn<TUser, TKey>(SignInManager<TUser, TKey>, String, String, Boolean, Boolean)

Two factor verification step

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: