Skip to content

/AWS1/CL_QSTCLICREDSGRANTMET

Configuration for OAuth 2.0 client credentials grant authentication, including client ID, client secret, token endpoint, and optional scopes.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_baseendpoint TYPE /AWS1/QSTENDPOINT /AWS1/QSTENDPOINT

The base endpoint URL for the external service.

Optional arguments:

iv_clientcredentialssource TYPE /AWS1/QSTCLIENTCREDSSOURCE /AWS1/QSTCLIENTCREDSSOURCE

The source of the client credentials configuration.

io_clientcredentialsdetails TYPE REF TO /AWS1/CL_QSTCLIENTCREDSDETAILS /AWS1/CL_QSTCLIENTCREDSDETAILS

The detailed client credentials configuration including client ID, client secret, and token endpoint.


Queryable Attributes

BaseEndpoint

The base endpoint URL for the external service.

Accessible with the following methods

Method Description
GET_BASEENDPOINT() Getter for BASEENDPOINT, with configurable default
ASK_BASEENDPOINT() Getter for BASEENDPOINT w/ exceptions if field has no value
HAS_BASEENDPOINT() Determine if BASEENDPOINT has a value

ClientCredentialsSource

The source of the client credentials configuration.

Accessible with the following methods

Method Description
GET_CLIENTCREDENTIALSSOURCE() Getter for CLIENTCREDENTIALSSOURCE, with configurable defaul
ASK_CLIENTCREDENTIALSSOURCE() Getter for CLIENTCREDENTIALSSOURCE w/ exceptions if field ha
HAS_CLIENTCREDENTIALSSOURCE() Determine if CLIENTCREDENTIALSSOURCE has a value

ClientCredentialsDetails

The detailed client credentials configuration including client ID, client secret, and token endpoint.

Accessible with the following methods

Method Description
GET_CLIENTCREDENTIALSDETAILS() Getter for CLIENTCREDENTIALSDETAILS