Skip to content

/AWS1/CL_QSTCLICREDSGRANTDETS

Configuration details for OAuth2 client credentials grant flow, including client ID, client secret, token endpoint, and optional scopes.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_clientid TYPE /AWS1/QSTCLIENTID /AWS1/QSTCLIENTID

The client identifier issued to the client during the registration process with the authorization server.

iv_clientsecret TYPE /AWS1/QSTCLIENTSECRET /AWS1/QSTCLIENTSECRET

The client secret issued to the client during the registration process with the authorization server.

iv_tokenendpoint TYPE /AWS1/QSTENDPOINT /AWS1/QSTENDPOINT

The authorization server endpoint used to obtain access tokens via the client credentials grant flow.


Queryable Attributes

ClientId

The client identifier issued to the client during the registration process with the authorization server.

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 issued to the client during the registration process with 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

TokenEndpoint

The authorization server endpoint used to obtain access tokens via the client credentials grant flow.

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