Salesforce B2C Commerce 23.6 > B2C Commerce API > B2C Commerce Script > dw.customer.oauth
dw.customer.oauth
Class OAuthUserInfoResponse
Object
dw.customer.oauth.OAuthUserInfoResponse
Contains the response from the third-party OAuth server when requesting user info. Refer to the corresponding OAuth provider documentation regarding what the format might be (in most cases it would be JSON). The data returned would also vary depending on the scope.
Properties
errorStatus  :  String  (Read Only)
The error status In cases of errors - more detailed error information can be seen in the error log files (specificity of error details vary by OAuth provider).
userInfo  :  String  (Read Only)
The user info as a String. Refer to the corresponding OAuth provider documentation regarding what the format might be (in most cases it would be JSON). The data returned would also vary depending on the configured 'scope'.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getErrorStatus() : String
Returns the error status In cases of errors - more detailed error information can be seen in the error log files (specificity of error details vary by OAuth provider).
getUserInfo() : String
Returns the user info as a String.
Methods inherited from class Object
Method Detail
getErrorStatus
getErrorStatus() : String
Returns the error status In cases of errors - more detailed error information can be seen in the error log files (specificity of error details vary by OAuth provider).
Returns:
the error status

getUserInfo
getUserInfo() : String
Returns the user info as a String. Refer to the corresponding OAuth provider documentation regarding what the format might be (in most cases it would be JSON). The data returned would also vary depending on the configured 'scope'.
Returns:
the user info

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.