This documentation is archived and is not being maintained.
SignInManagerExtensions Class
Extension methods for SignInManager/>
Namespace:
Microsoft.AspNet.Identity.OwinAssembly:
Microsoft.AspNet.Identity.Owin (in Microsoft.AspNet.Identity.Owin.dll)
System.Object Microsoft.AspNet.Identity.Owin.SignInManagerExtensions
public static class SignInManagerExtensions
| Name | Description |
|---|
  | CreateUserIdentity<TUser, TKey>(SignInManager<TUser, TKey>, TUser) | Called to generate the ClaimsIdentity for the user, override to add additional claims before SignIn |
  | ExternalSignIn<TUser, TKey>(SignInManager<TUser, TKey>, ExternalLoginInfo, Boolean) | Sign the user in using an associated external login |
  | GetVerifiedUserId<TUser, TKey>(SignInManager<TUser, TKey>) | Get the user id that has been verified already or null. |
  | HasBeenVerified<TUser, TKey>(SignInManager<TUser, TKey>) | Has the user been verified (ie either via password or external login) |
  | PasswordSignIn<TUser, TKey>(SignInManager<TUser, TKey>, String, String, Boolean, Boolean) | Sign in the user in using the user name and password |
  | SendTwoFactorCode<TUser, TKey>(SignInManager<TUser, TKey>, String) | Send a two factor code to a user |
  | SignIn<TUser, TKey>(SignInManager<TUser, TKey>, TUser, Boolean, Boolean) | Creates a user identity and then signs the identity using the AuthenticationManager |
  | TwoFactorSignIn<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