/AWS1/CL_APFOAUTHCREDENTIALS¶
The OAuth credentials required for OAuth type authentication.
CONSTRUCTOR¶
IMPORTING¶
Required 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.
Optional arguments:¶
iv_accesstoken TYPE /AWS1/APFACCESSTOKEN /AWS1/APFACCESSTOKEN¶
The access token used to access protected SAPOData resources.
iv_refreshtoken TYPE /AWS1/APFREFRESHTOKEN /AWS1/APFREFRESHTOKEN¶
The refresh token used to refresh expired access token.
io_oauthrequest TYPE REF TO /AWS1/CL_APFCNCTOROAUTHREQUEST /AWS1/CL_APFCNCTOROAUTHREQUEST¶
The OAuth requirement needed to request security tokens from the connector endpoint.
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 protected SAPOData resources.
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 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¶
The OAuth requirement needed to request security tokens from the connector endpoint.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OAUTHREQUEST() |
Getter for OAUTHREQUEST |