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
Public method OpenAuthManager

Top

Methods

  Name Description
Public method AddAccountToExistingUser Adds an external login account to an existing membership user.
Public method AddLocalPassword Adds a local password for the specified local user.
Public method 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.
Public method CreateUser(String, String, String, String)
Public method CreateUser(String, String, String, String, String, String, String, String)
Public method DeleteAccount Deletes the association of the specified external account for the specified membership user.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAccountsForUser Returns the details for the external accounts registered for the specified membership user.
Public method GetHashCode (Inherited from Object.)
Public method GetProviderDisplayName Gets the provider display name.
Public method GetProviderName Gets the name of the external authentication provider that redirected to the specified request.
Public method GetType (Inherited from Object.)
Public method HasLocalPassword Determines if the specified membership user has a local password on this site.
Public method IsLocalUrl Determines if the specified URL is local to this web site
Public method 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.
Protected method MemberwiseClone (Inherited from Object.)
Public method RequestAuthentication Request authentication from the provider specified by redirecting the user to the service's login page.
Public method ToString (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.AspNet.Membership.OpenAuth Namespace