Script: Class dw.customer.OAuthFinalizedResponse

Class OAuthFinalizedResponse

  • Object
    • dw.customer.oauth.OAuthFinalizedResponse

Contains the combined responses from the third-party OAuth server when finalizing the authentication.

Contains both the OAuthAccessTokenResponse
and the OAuthUserInfoResponse

Properties

accessTokenResponse : OAuthAccessTokenResponse Read Only

The access token response

userInfoResponse : OAuthUserInfoResponse Read Only

The user info response

Constructor Summary

This class does not have a constructor, so you cannot create it directly.

Method Summary

getAccessTokenResponse() : OAuthAccessTokenResponse

Returns the access token response

getUserInfoResponse() : OAuthUserInfoResponse

Returns the user info response

Methods inherited from class Object

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Method Detail

getAccessTokenResponse

getAccessTokenResponse() : OAuthAccessTokenResponse

Returns the access token response

Returns:

the access token response

getUserInfoResponse

getUserInfoResponse() : OAuthUserInfoResponse

Returns the user info response

Returns:

the user info response