checkExternalAuthenticationStatus


SoftLayer_User_Customer_OpenIdConnect_TrustedProfile::checkExternalAuthenticationStatus

Checks if an external authentication is complete or not

Description

This service checks the result of a previously requested external authentication. SoftLayer_Container_User_Customer_External_Binding_Phone container can be used for this service. Make sure to set the SoftLayer_Container_User_Customer_External_Binding_Phone::authenticationToken that is generated by SoftLayer_User_Customer service.

Parameters

Name Type Description
authenticationContainer SoftLayer_Container_User_Customer_External_Binding The authentication container with the external authentication information.

Required Headers

Optional Headers

  • None

Return Values

Error Handling

  • Throw the error “Invalid external authentication container is provided.” when you have provide an invalid authentication container.
  • Throw the error “Failed to find an valid authentication request.” when you have provide incorrect authentication request token or your request is expired.
  • Throw the error “External authentication failed.” when the external authentication failed.
  • Throw the error “Waiting on the external authentication response.” when pending result from the external authentication.