AuthenticationHelperAuthenticateOpenIDUser Method |
Authenticate user with provided OpenID parameters. Create new user if createNew is set to TRUE and user doesn't
exist in DB.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntax public static UserInfo AuthenticateOpenIDUser(
string claimedID,
string providerUrl,
string siteName,
bool generatePassword,
bool disableConfirmation,
ref string error
)
Parameters
- claimedID
- Type: SystemString
OpenID Claimed Identifier - providerUrl
- Type: SystemString
OpenID provider URL - siteName
- Type: SystemString
Site name - generatePassword
- Type: SystemBoolean
Indicates if random password should be generated - disableConfirmation
- Type: SystemBoolean
Indicates if e-mail confirmation of newly registered user is disabled - error
- Type: SystemString
Error message which will be filled when error occurred
Return Value
Type:
UserInfoUserInfo with authenticated user or null if user is not found
See Also