Skip to content

/AWS1/CL_APFOAUTHPROPERTIES

The OAuth properties required for OAuth type authentication.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_tokenurl TYPE /AWS1/APFTOKENURL /AWS1/APFTOKENURL

The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.

iv_authcodeurl TYPE /AWS1/APFAUTHCODEURL /AWS1/APFAUTHCODEURL

The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.

it_oauthscopes TYPE /AWS1/CL_APFOAUTHSCOPELIST_W=>TT_OAUTHSCOPELIST TT_OAUTHSCOPELIST

The OAuth scopes required for OAuth type authentication.


Queryable Attributes

tokenUrl

The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.

Accessible with the following methods

Method Description
GET_TOKENURL() Getter for TOKENURL, with configurable default
ASK_TOKENURL() Getter for TOKENURL w/ exceptions if field has no value
HAS_TOKENURL() Determine if TOKENURL has a value

authCodeUrl

The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.

Accessible with the following methods

Method Description
GET_AUTHCODEURL() Getter for AUTHCODEURL, with configurable default
ASK_AUTHCODEURL() Getter for AUTHCODEURL w/ exceptions if field has no value
HAS_AUTHCODEURL() Determine if AUTHCODEURL has a value

oAuthScopes

The OAuth scopes required for OAuth type authentication.

Accessible with the following methods

Method Description
GET_OAUTHSCOPES() Getter for OAUTHSCOPES, with configurable default
ASK_OAUTHSCOPES() Getter for OAUTHSCOPES w/ exceptions if field has no value
HAS_OAUTHSCOPES() Determine if OAUTHSCOPES has a value