dw.customer.oauth
Class OAuthAccessTokenResponse
Object
dw.customer.oauth.OAuthAccessTokenResponse
Contains OAuth-related artifacts from the HTTP response from the third-party OAuth server when requesting an access token
Properties
accessToken  :  String  (Read Only)
The access token
accessTokenExpiry  :  Number  (Read Only)
The access token expiration
errorStatus  :  String  (Read Only)
The error status. In cases of errors - more detailed error information can be seen in the error log files (specifity of error details vary by OAuth provider).
oauthProviderId  :  String  (Read Only)
The OAuth provider id
refreshToken  :  String  (Read Only)
The refresh token
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getAccessToken() : String
Returns the access token
getAccessTokenExpiry() : Number
Returns the access token expiration
getErrorStatus() : String
Returns the error status.
getOauthProviderId() : String
Returns the OAuth provider id
getRefreshToken() : String
Returns the refresh token
Methods inherited from class Object
Method Detail
getAccessToken
getAccessToken() : String
Returns the access token
Returns:
the access token

getAccessTokenExpiry
getAccessTokenExpiry() : Number
Returns the access token expiration
Returns:
the access token expiration

getErrorStatus
getErrorStatus() : String
Returns the error status. In cases of errors - more detailed error information can be seen in the error log files (specifity of error details vary by OAuth provider).
Returns:
the error status

getOauthProviderId
getOauthProviderId() : String
Returns the OAuth provider id
Returns:
the OAuth provider id

getRefreshToken
getRefreshToken() : String
Returns the refresh token
Returns:
the refresh token