Microsoft.AspNet.Membership.OpenAuth
Initializes a new instance of the class.
An implementation for storing association data for Membership users to OAuth/OpenID providers using Entity Framework Code First.
Encapsulates the static Membership system APIs
Provides static methods to manage OpenAuth login and account information in an ASP.NET application.
Adds an external login account to an existing membership user.
The name of the external authentication provider.
The user ID of the user with the external authentication provider.
The user name of the user with the external authentication provider.
The user name of the local membership user.
Adds a local password for the specified local user.
The user name.
The new local password.
External authentication service providers to use.
Gets or sets the connection string name for the database OpenAuth account details are stored in.
Deletes the association of the specified external account for the specified membership user.
True if the association was deleted successfully, false if it wasn't found.
The user name of the local membership user.
The authentication provider name.
The user ID of the user with the authentication provider.
Returns the details for the external accounts registered for the specified membership user.
The user name of the local membership user.
Gets the provider dislpay name.
The name of the provider.
Gets the name of the external authentication provider that redirected to the current request.
Determines if the specified user has a local password on this site.
The local membership user name.
Determines if the specified URL is local to this web site.
The URL.
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.
True if the user was logged in successfully, false if the login failed, e.g. if the user is not currently registered.
The authentication provider name.
The user ID of the user with the authentication provider.
A flag indicating whether a the login cookie created should be persistent.
Request authentication from the provider specified by redirecting the user to the service's login page.
The name of the authentication provider.
The local URL to return to.
Gets or sets the name of the database table the OpenAuth external account details are stored in.
Gets or sets the name of the database table the OpenAuth user details are stored in.
Verify the provider result on the current request.
The return URL to be passed to the external authentication provider. This must match the return URL that was passed to the call of RequestAuthentication.
Initializes a new instance of the class.
Provides methods to manage OpenAuth login and account information in an ASP.NET application.
Adds an external login account to an existing membership user.
The name of the external authentication provider.
The user ID of the user with the external authentication provider.
The user name of the user with the external authentication provider.
The user name of the local membership user.
Adds a local password for the specified local user.
The user name.
The new local password.
Creates a random password for use when creating a new local membership user. By default, this method simply calls into the Membership.GeneratePassword method.
Deletes the association of the specified external account for the specified membership user.
True if the association was deleted successfully, false if it wasn't found.
The user name of the local membership user.
The authentication provider name.
The user ID of the user with the authentication provider.
Returns the details for the external accounts registered for the specified membership user.
The user name of the local membership user.
Gets the provider dislpay name.
The name of the provider.
Gets the name of the external authentication provider that redirected to the specified request.
Determines if the specified membership user has a local password on this site.
The local membership user name.
Determines if the specified URL is local to this web site
The URL
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.
True if the user was logged in successfully, false if the login failed, e.g. if the user is not currently registered.
The authentication provider name.
The user ID of the user with the authentication provider.
A flag indicating whether a the login cookie created should be persistent.
Request authentication from the provider specified by redirecting the user to the service's login page.
The current HTTP context.
The name of the authentication provider.
The local URL to return to.
Verify the provider result on the current request.
The current HTTP context.
The return URL to be passed to the external authentication provider. This must match the return URL that was passed to the call of RequestAuthentication.
Represents the database for storing association data for Membership users to OAuth/OpenID providers.
Creates an instance.
The Membership application name.
Adds a record associating an OAuth/OpenID account with a membership user.
The name of the OAuth/OpenID provider.
The OAuth/OpenID user ID.
The OAuth/OpenID user name.
The user name of the membership user.
A flag indicating whether this account association is for a new membership user.
The Membership application name.
Deletes the association record of the OAuth/OpenID account for the specified membership user.
Returns details of the OAuth/OpenID providers registered for the specified membership user.
The Membership user name.
Gets the user name of the membership user currently associated with the specificed OAuth/OpenID provider.
The name of the OAuth/OpenID provider.
The OAuth/OpenID user ID.
A flag indicating whether to update the last used field.
Returns a flag indicating whether the specified membership user has a local password set.
The user name of the membership user.
Sets a flag indicating whether the specified membership user has a local password set.
The user name of the membership user.
The flag value.
Initializes a new instance of the class.
Initializes a new instance of the class.