getLoginAccountInfoOpenIdConnect


SoftLayer_User_Customer_OpenIdConnect::getLoginAccountInfoOpenIdConnect

Get account for an active user logging into the SoftLayer customer portal

Description

Validates a supplied OpenIdConnect access token to the SoftLayer customer portal and returns the default account name and id for the active user. An exception will be thrown if no matching customer is found.

Parameters

Name Type Description
providerType string A value representing the OpenID Connect provider type. Currently “IBMid” is the only supported provider.
accessToken string The OpenID Connect access token which provides temporary access to a resource by the

Required Headers

Optional Headers

  • None

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string, string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_User_Customer_OpenIdConnect/getLoginAccountInfoOpenIdConnect'