CreateOrUpdateOAuthAccount Method

ExtendedMembershipProvider.CreateOrUpdateOAuthAccount Method

When overridden in a derived class, creates a new OAuth membership account, or updates an existing OAuth Membership account.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

public virtual void CreateOrUpdateOAuthAccount(
	string provider,
	string providerUserId,
	string userName
)

Parameters

provider
Type: System.String
The OAuth or OpenID provider.
providerUserId
Type: System.String
The OAuth or OpenID provider user ID. This is not the user ID of the user account, but the user ID on the OAuth or Open ID provider.
userName
Type: System.String
The user name.
Show:
© 2016 Microsoft