Skip to content

/AWS1/CL_BDCGETRESO2TOKENRSP

GetResourceOauth2TokenResponse

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_authorizationurl TYPE /AWS1/BDCAUTHORIZATIONURLTYPE /AWS1/BDCAUTHORIZATIONURLTYPE

The URL to initiate the authorization process, provided when the access token requires user authorization.

iv_accesstoken TYPE /AWS1/BDCACCESSTOKENTYPE /AWS1/BDCACCESSTOKENTYPE

The OAuth 2.0 access token to use.

iv_sessionuri TYPE /AWS1/BDCREQUESTURI /AWS1/BDCREQUESTURI

Unique identifier for the user's authorization session for retrieving OAuth2 tokens. This matches the sessionId from the request and can be used to track the session state.

iv_sessionstatus TYPE /AWS1/BDCSESSIONSTATUS /AWS1/BDCSESSIONSTATUS

Status indicating whether the user's authorization session is in progress or has failed. This helps determine the next steps in the OAuth2 authentication flow.


Queryable Attributes

authorizationUrl

The URL to initiate the authorization process, provided when the access token requires user authorization.

Accessible with the following methods

Method Description
GET_AUTHORIZATIONURL() Getter for AUTHORIZATIONURL, with configurable default
ASK_AUTHORIZATIONURL() Getter for AUTHORIZATIONURL w/ exceptions if field has no va
HAS_AUTHORIZATIONURL() Determine if AUTHORIZATIONURL has a value

accessToken

The OAuth 2.0 access token to use.

Accessible with the following methods

Method Description
GET_ACCESSTOKEN() Getter for ACCESSTOKEN, with configurable default
ASK_ACCESSTOKEN() Getter for ACCESSTOKEN w/ exceptions if field has no value
HAS_ACCESSTOKEN() Determine if ACCESSTOKEN has a value

sessionUri

Unique identifier for the user's authorization session for retrieving OAuth2 tokens. This matches the sessionId from the request and can be used to track the session state.

Accessible with the following methods

Method Description
GET_SESSIONURI() Getter for SESSIONURI, with configurable default
ASK_SESSIONURI() Getter for SESSIONURI w/ exceptions if field has no value
HAS_SESSIONURI() Determine if SESSIONURI has a value

sessionStatus

Status indicating whether the user's authorization session is in progress or has failed. This helps determine the next steps in the OAuth2 authentication flow.

Accessible with the following methods

Method Description
GET_SESSIONSTATUS() Getter for SESSIONSTATUS, with configurable default
ASK_SESSIONSTATUS() Getter for SESSIONSTATUS w/ exceptions if field has no value
HAS_SESSIONSTATUS() Determine if SESSIONSTATUS has a value