OpenAuthManager Class
.NET Framework 4
Provides methods to manage OpenAuth login and account information in an ASP.NET application.
Inheritance Hierarchy
System.Object
Microsoft.AspNet.Membership.OpenAuth.OpenAuthManager
Namespace: Microsoft.AspNet.Membership.OpenAuth
Assembly: Microsoft.AspNet.Membership.OpenAuth (in Microsoft.AspNet.Membership.OpenAuth.dll)
Syntax
'Declaration
Public Class OpenAuthManager
'Usage
Dim instance As OpenAuthManager
public class OpenAuthManager
public ref class OpenAuthManager
type OpenAuthManager = class end
public class OpenAuthManager
The OpenAuthManager type exposes the following members.
Constructors
Name | Description | |
---|---|---|
OpenAuthManager |
Top
Methods
Name | Description | |
---|---|---|
AddAccountToExistingUser | Adds an external login account to an existing membership user. | |
AddLocalPassword | Adds a local password for the specified local user. | |
CreateRandomPassword | Creates a random password for use when creating a new local membership user. By default, this method simply calls into the Membership.GeneratePassword method. | |
CreateUser(String, String, String, String) | ||
CreateUser(String, String, String, String, String, String, String, String) | ||
DeleteAccount | Deletes the association of the specified external account for the specified membership user. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetAccountsForUser | Returns the details for the external accounts registered for the specified membership user. | |
GetHashCode | (Inherited from Object.) | |
GetProviderDisplayName | Gets the provider display name. | |
GetProviderName | Gets the name of the external authentication provider that redirected to the specified request. | |
GetType | (Inherited from Object.) | |
HasLocalPassword | Determines if the specified membership user has a local password on this site. | |
IsLocalUrl | Determines if the specified URL is local to this web site | |
Login | Logs in a user via OpenAuth using the specified authentication provider and provider user ID. The user must already be registered with the site with this OpenAuth provider. | |
MemberwiseClone | (Inherited from Object.) | |
RequestAuthentication | Request authentication from the provider specified by redirecting the user to the service's login page. | |
ToString | (Inherited from Object.) | |
VerifyAuthentication | Verify the provider result on the current request. |
Top
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.