softlayer_user_customer_openidconnect

package
v0.0.0-...-6f30f46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

softlayer_user_customer_openidconnect - no documentation

Index

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

func DeclineInvitation(providerType string, registrationCode string) slapi.Request

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

func GetDefaultAccount(ID interface{}, providerType string) slapi.Request

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

func GetMappedAccounts(ID interface{}, providerType string) slapi.Request

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 GetObject

func GetObject(ID interface{}) slapi.Request

GetObject - no documentation

func GetOpenIdRegistrationInfoFromCode

func GetOpenIdRegistrationInfoFromCode(providerType string, registrationCode string) slapi.Request

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

func GetUserFromLostPasswordRequest(key string) slapi.Request

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

func IsValidPortalPassword(ID interface{}, password string) slapi.Request

IsValidPortalPassword - Determine if a string is the given user's login password to the SoftLayer customer portal.

func LostPassword

func LostPassword(username string, email string) slapi.Request

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

func SetDefaultAccount(ID interface{}, providerType string, accountId int) slapi.Request

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

func UpdatePassword(ID interface{}, password string) slapi.Request

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL