OpenAuthMembershipDatabase Class

.NET Framework 4.5

Represents the database for storing association data for Membership users to OAuth/OpenID providers.

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.Membership.OpenAuth.OpenAuthMembershipDatabase
    Microsoft.AspNet.Membership.OpenAuth.EFOpenAuthMembershipDatabase

Namespace:  Microsoft.AspNet.Membership.OpenAuth
Assembly:  Microsoft.AspNet.Membership.OpenAuth (in Microsoft.AspNet.Membership.OpenAuth.dll)

Syntax

'Declaration
Public MustInherit Class OpenAuthMembershipDatabase
'Usage
Dim instance As OpenAuthMembershipDatabase
public abstract class OpenAuthMembershipDatabase
public ref class OpenAuthMembershipDatabase abstract
[<AbstractClassAttribute>]
type OpenAuthMembershipDatabase =  class end
public abstract class OpenAuthMembershipDatabase

The OpenAuthMembershipDatabase type exposes the following members.

Constructors

  Name Description
Public method OpenAuthMembershipDatabase Creates an instance.

Top

Properties

  Name Description
Public property ApplicationName The Membership application name.

Top

Methods

  Name Description
Public method AddAccount Adds a record associating an OAuth/OpenID account with a membership user.
Public method DeleteAccount Deletes the association record of the OAuth/OpenID account for the specified membership user.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAccountsForUser Returns details of the OAuth/OpenID providers registered for the specified membership user.
Public method GetHashCode (Inherited from Object.)
Public method GetMembershipUserName Gets the user name of the membership user currently associated with the specificed OAuth/OpenID provider.
Public method GetType (Inherited from Object.)
Public method HasLocalPassword Returns a flag indicating whether the specified membership user has a local password set.
Protected method MemberwiseClone (Inherited from Object.)
Public method SetHasLocalPassword Sets a flag indicating whether the specified membership user has a local password set.
Public method ToString (Inherited from Object.)

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