Documentation ¶
Overview ¶
softlayer_user_customer_openidconnect - no documentation
Index ¶
- func CompleteInvitationAfterLogin(providerType string, accessToken string, emailRegistrationCode string) slapi.Request
- func CreateOpenIdConnectUserAndCompleteInvitation(providerType string, user gentypes.SoftLayer_User_Customer, password string, ...) slapi.Request
- func DeclineInvitation(providerType string, registrationCode string) slapi.Request
- func GetDefaultAccount(ID interface{}, providerType string) slapi.Request
- func GetMappedAccounts(ID interface{}, providerType string) slapi.Request
- func GetObject(ID interface{}) slapi.Request
- func GetOpenIdRegistrationInfoFromCode(providerType string, registrationCode string) slapi.Request
- func GetPortalLoginTokenOpenIdConnect(providerType string, accessToken string, accountId int) slapi.Request
- func GetUserFromLostPasswordRequest(key string) slapi.Request
- func IsValidPortalPassword(ID interface{}, password string) slapi.Request
- func LostPassword(username string, email string) slapi.Request
- func ResetExpiredPassword(username string, password string, newPassword string, securityQuestionId int, ...) slapi.Request
- func SetDefaultAccount(ID interface{}, providerType string, accountId int) slapi.Request
- func SetPasswordFromLostPasswordRequest(key string, password string, ...) slapi.Request
- func UpdatePassword(ID interface{}, password string) slapi.Request
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompleteInvitationAfterLogin ¶
func CompleteInvitationAfterLogin(providerType string, accessToken string, emailRegistrationCode string) slapi.Request
CompleteInvitationAfterLogin - no documentation
func CreateOpenIdConnectUserAndCompleteInvitation ¶
func CreateOpenIdConnectUserAndCompleteInvitation(providerType string, user gentypes.SoftLayer_User_Customer, password string, registrationCode string) slapi.Request
CreateOpenIdConnectUserAndCompleteInvitation - no documentation
func DeclineInvitation ¶
DeclineInvitation - Declines an invitation to link an OpenIdConnect identity to a SoftLayer (Atlas) identity and account. Note that this uses a registration code that is likely a one-time-use-only token, so if an invitation has already been processed (accepted or previously declined) it will not be possible to process it a second time.
func GetDefaultAccount ¶
GetDefaultAccount - This API gets the default for the OpenIdConnect identity that is linked from the current SoftLayer user identity. If there is no default present, the API returns null.
func GetMappedAccounts ¶
GetMappedAccounts - An OpenIdConnect identity, for example an IBMid, can be linked or mapped to one or more individual SoftLayer users, but no more than one SoftLayer user per account. This effectively links the OpenIdConnect identity to those accounts. This API returns a list of all the accounts for which there is a link between the OpenIdConnect identity and a SoftLayer user.
func GetOpenIdRegistrationInfoFromCode ¶
GetOpenIdRegistrationInfoFromCode - no documentation
func GetPortalLoginTokenOpenIdConnect ¶
func GetPortalLoginTokenOpenIdConnect(providerType string, accessToken string, accountId int) slapi.Request
GetPortalLoginTokenOpenIdConnect - Attempt to authenticate a supplied OpenIdConnect access token to the SoftLayer customer portal. If authentication is successful then the API returns a token containing the ID of the authenticated user and a hash key used by the SoftLayer customer portal to maintain authentication.
func GetUserFromLostPasswordRequest ¶
GetUserFromLostPasswordRequest - This method is deprecated. Please see documentation for initiatePortalPasswordChange Retrieve a user object using a password recovery key received in an email generated by the [[SoftLayer_User_Customer::lostPassword|lostPassword]] method. The SoftLayer customer portal uses getUserFromLostPasswordRequest() to retrieve user security questions. Password recovery keys are valid for 24 hours after they're generated.
func IsValidPortalPassword ¶
IsValidPortalPassword - Determine if a string is the given user's login password to the SoftLayer customer portal.
func LostPassword ¶
LostPassword - This method is deprecated. Please see documentation for initiatePortalPasswordChange SoftLayer provides a way for users of it's customer portal to recover lost passwords. The lostPassword() method is the first step in this process. Given a valid username and email address, the SoftLayer API will email the address provided with a URL to visit to begin the password recovery process. The last part of this URL is a hash key that's used as an identifier throughout this process. Use this hash key in the [[SoftLayer_User_Customer::setPasswordFromLostPasswordRequest|setPasswordFromLostPasswordRequest]] method to reset a user's password. Password recovery hash keys are valid for 24 hours after they're generated.
func ResetExpiredPassword ¶
func ResetExpiredPassword(username string, password string, newPassword string, securityQuestionId int, securityQuestionAnswer string) slapi.Request
ResetExpiredPassword - This method is deprecated. Please see documentation for initiatePortalPasswordChange Attempt to authenticate a username and password to the SoftLayer customer portal and reset there password. If authentication and password reset is successful then the API returns true.
func SetDefaultAccount ¶
SetDefaultAccount - This API sets the default account for the OpenIdConnect identity that is linked from the current SoftLayer user identity.
func SetPasswordFromLostPasswordRequest ¶
func SetPasswordFromLostPasswordRequest(key string, password string, securityAnswers []gentypes.SoftLayer_User_Customer_Security_Answer) slapi.Request
SetPasswordFromLostPasswordRequest - Set a user's password via the lost password recovery system, using a password recovery key received in an email generated by the [[SoftLayer_User_Customer::lostPassword|lostPassword]] method. Password recovery keys are valid for 24 hours after they're generated. User portal passwords must match the following restrictions. Portal passwords must... * ...be over eight characters long. * ...be under twenty characters long. * ...contain at least one uppercase letter * ...contain at least one lowercase letter * ...contain at least one number * ...contain one of the special characters _ - | @ . , ? / ! ~ # $ % ^ & * ( ) { } [ ] \ + = * ...not match your username * ...not match your forum password
func UpdatePassword ¶
UpdatePassword - This method is deprecated. Please see documentation for initiatePortalPasswordChange Update a user's password on the SoftLayer customer portal. As with forum passwords, user portal passwords must match the following restrictions. Portal passwords must... * ...be over eight characters long. * ...be under twenty characters long. * ...contain at least one uppercase letter * ...contain at least one lowercase letter * ...contain at least one number * ...contain one of the special characters _ - | @ . , ? / ! ~ # $ % ^ & * ( ) { } [ ] \ + = * ...not match your username * ...not match your forum password Finally, users can only update their own password. An account's master user can update any of their account users' passwords.
Types ¶
This section is empty.