Share via


SignInManagerExtensions Class

 

Extension methods for SignInManager/>

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

Inheritance Hierarchy

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

Syntax

public static class SignInManagerExtensions
[ExtensionAttribute]
public ref class SignInManagerExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type SignInManagerExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class SignInManagerExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CreateUserIdentity<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_static ExternalSignIn<TUser, TKey>(SignInManager<TUser, TKey>, ExternalLoginInfo, Boolean)

Sign the user in using an associated external login

System_CAPS_pubmethodSystem_CAPS_static GetVerifiedUserId<TUser, TKey>(SignInManager<TUser, TKey>)

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

System_CAPS_pubmethodSystem_CAPS_static HasBeenVerified<TUser, TKey>(SignInManager<TUser, TKey>)

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

System_CAPS_pubmethodSystem_CAPS_static PasswordSignIn<TUser, TKey>(SignInManager<TUser, TKey>, String, String, Boolean, Boolean)

Sign in the user in using the user name and password

System_CAPS_pubmethodSystem_CAPS_static SendTwoFactorCode<TUser, TKey>(SignInManager<TUser, TKey>, String)

Send a two factor code to a user

System_CAPS_pubmethodSystem_CAPS_static SignIn<TUser, TKey>(SignInManager<TUser, TKey>, TUser, Boolean, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_static TwoFactorSignIn<TUser, TKey>(SignInManager<TUser, TKey>, String, String, Boolean, Boolean)

Two factor verification step

Thread Safety

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

See Also

Microsoft.AspNet.Identity.Owin Namespace

Return to top