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)
Inheritance Hierarchy
System.Object
Microsoft.Owin.Security.AuthenticationManagerExtensions
Syntax
public static class AuthenticationManagerExtensions
[ExtensionAttribute]
public ref class AuthenticationManagerExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type AuthenticationManagerExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class AuthenticationManagerExtensions
Methods
Name | Description | |
---|---|---|
CreateTwoFactorRememberBrowserIdentity(IAuthenticationManager, String) | Creates a TwoFactorRememberBrowser cookie for a user. |
|
GetExternalAuthenticationTypes(IAuthenticationManager) | Returns the authentication types, which are considered external because they have captions. |
|
GetExternalIdentity(IAuthenticationManager, String) | Return the identity associated with the default external authentication type |
|
GetExternalIdentityAsync(IAuthenticationManager, String) | Asynchronously returns the identity associated with the default external authentication type. |
|
GetExternalLoginInfo(IAuthenticationManager) | Extracts the login information out of an external identity. |
|
GetExternalLoginInfo(IAuthenticationManager, String, String) | Extracts the login information out of an external identity. |
|
GetExternalLoginInfoAsync(IAuthenticationManager) | Asynchronously extracts the login information out of an external identity. |
|
GetExternalLoginInfoAsync(IAuthenticationManager, String, String) | Asynchronously extracts the login information out of an external identity. |
|
TwoFactorBrowserRemembered(IAuthenticationManager, String) | Returns true if there is a TwoFactorRememberBrowser cookie for a user |
|
TwoFactorBrowserRememberedAsync(IAuthenticationManager, String) | Asynchronously determines whether there is a TwoFactorRememberBrowser cookie for a user. |
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.Owin.Security Namespace
ASP.NET Identity
Return to top