/AWS1/CL_APFOAUTH2CREDENTIALS¶
The OAuth 2.0 credentials required for OAuth 2.0 authentication.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_clientid TYPE /AWS1/APFCLIENTID /AWS1/APFCLIENTID¶
The identifier for the desired client.
iv_clientsecret TYPE /AWS1/APFCLIENTSECRET /AWS1/APFCLIENTSECRET¶
The client secret used by the OAuth client to authenticate to the authorization server.
iv_accesstoken TYPE /AWS1/APFACCESSTOKEN /AWS1/APFACCESSTOKEN¶
The access token used to access the connector on your behalf.
iv_refreshtoken TYPE /AWS1/APFREFRESHTOKEN /AWS1/APFREFRESHTOKEN¶
The refresh token used to refresh an expired access token.
io_oauthrequest TYPE REF TO /AWS1/CL_APFCNCTOROAUTHREQUEST /AWS1/CL_APFCNCTOROAUTHREQUEST¶
Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.
Queryable Attributes¶
clientId¶
The identifier for the desired client.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CLIENTID() |
Getter for CLIENTID, with configurable default |
ASK_CLIENTID() |
Getter for CLIENTID w/ exceptions if field has no value |
HAS_CLIENTID() |
Determine if CLIENTID has a value |
clientSecret¶
The client secret used by the OAuth client to authenticate to the authorization server.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CLIENTSECRET() |
Getter for CLIENTSECRET, with configurable default |
ASK_CLIENTSECRET() |
Getter for CLIENTSECRET w/ exceptions if field has no value |
HAS_CLIENTSECRET() |
Determine if CLIENTSECRET has a value |
accessToken¶
The access token used to access the connector on your behalf.
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 |
refreshToken¶
The refresh token used to refresh an expired access token.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_REFRESHTOKEN() |
Getter for REFRESHTOKEN, with configurable default |
ASK_REFRESHTOKEN() |
Getter for REFRESHTOKEN w/ exceptions if field has no value |
HAS_REFRESHTOKEN() |
Determine if REFRESHTOKEN has a value |
oAuthRequest¶
Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OAUTHREQUEST() |
Getter for OAUTHREQUEST |