AuthenticationManagerExtensions Class

 

Provides extension methods on IAuthenticationManager that add methods for using the default application and external authentication type constants.

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

System.Object
  Microsoft.Owin.Security.AuthenticationManagerExtensions

public static class AuthenticationManagerExtensions

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateTwoFactorRememberBrowserIdentity(IAuthenticationManager, String)

Creates a TwoFactorRememberBrowser cookie for a user.

System_CAPS_pubmethodSystem_CAPS_staticGetExternalAuthenticationTypes(IAuthenticationManager)

Returns the authentication types, which are considered external because they have captions.

System_CAPS_pubmethodSystem_CAPS_staticGetExternalIdentity(IAuthenticationManager, String)

Return the identity associated with the default external authentication type

System_CAPS_pubmethodSystem_CAPS_staticGetExternalIdentityAsync(IAuthenticationManager, String)

Asynchronously returns the identity associated with the default external authentication type.

System_CAPS_pubmethodSystem_CAPS_staticGetExternalLoginInfo(IAuthenticationManager)

Extracts the login information out of an external identity.

System_CAPS_pubmethodSystem_CAPS_staticGetExternalLoginInfo(IAuthenticationManager, String, String)

Extracts the login information out of an external identity.

System_CAPS_pubmethodSystem_CAPS_staticGetExternalLoginInfoAsync(IAuthenticationManager)

Asynchronously extracts the login information out of an external identity.

System_CAPS_pubmethodSystem_CAPS_staticGetExternalLoginInfoAsync(IAuthenticationManager, String, String)

Asynchronously extracts the login information out of an external identity.

System_CAPS_pubmethodSystem_CAPS_staticTwoFactorBrowserRemembered(IAuthenticationManager, String)

Returns true if there is a TwoFactorRememberBrowser cookie for a user

System_CAPS_pubmethodSystem_CAPS_staticTwoFactorBrowserRememberedAsync(IAuthenticationManager, String)

Asynchronously determines whether there is a TwoFactorRememberBrowser cookie for a user.

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: