Skip to content

/AWS1/CL_QSTAUTHCODEGRANTDETS

Configuration details for OAuth 2.0 authorization code grant flow.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_clientid TYPE /AWS1/QSTCLIENTID /AWS1/QSTCLIENTID

The client ID for the OAuth application.

iv_clientsecret TYPE /AWS1/QSTCLIENTSECRET /AWS1/QSTCLIENTSECRET

The client secret for the OAuth application.

iv_tokenendpoint TYPE /AWS1/QSTENDPOINT /AWS1/QSTENDPOINT

The token endpoint URL for obtaining access tokens.

iv_authorizationendpoint TYPE /AWS1/QSTENDPOINT /AWS1/QSTENDPOINT

The authorization endpoint URL for the OAuth flow.


Queryable Attributes

ClientId

The client ID for the OAuth application.

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 for the OAuth application.

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

TokenEndpoint

The token endpoint URL for obtaining access tokens.

Accessible with the following methods

Method Description
GET_TOKENENDPOINT() Getter for TOKENENDPOINT, with configurable default
ASK_TOKENENDPOINT() Getter for TOKENENDPOINT w/ exceptions if field has no value
HAS_TOKENENDPOINT() Determine if TOKENENDPOINT has a value

AuthorizationEndpoint

The authorization endpoint URL for the OAuth flow.

Accessible with the following methods

Method Description
GET_AUTHORIZATIONENDPOINT() Getter for AUTHORIZATIONENDPOINT, with configurable default
ASK_AUTHORIZATIONENDPOINT() Getter for AUTHORIZATIONENDPOINT w/ exceptions if field has
HAS_AUTHORIZATIONENDPOINT() Determine if AUTHORIZATIONENDPOINT has a value