Skip to content

/AWS1/CL_GLUCLIENTCREDSPROPS

OAuth2 client credentials configuration that defines the properties needed for the Client Credentials grant type flow.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_tokenurl TYPE REF TO /AWS1/CL_GLUCONNECTORPROPERTY /AWS1/CL_GLUCONNECTORPROPERTY

The token endpoint URL where the client will request access tokens using client credentials.

iv_requestmethod TYPE /AWS1/GLUHTTPMETHOD /AWS1/GLUHTTPMETHOD

The HTTP method to use when making token requests, typically POST.

iv_contenttype TYPE /AWS1/GLUCONTENTTYPE /AWS1/GLUCONTENTTYPE

The content type to use for token requests, such as application/x-www-form-urlencoded or application/json.

io_clientid TYPE REF TO /AWS1/CL_GLUCONNECTORPROPERTY /AWS1/CL_GLUCONNECTORPROPERTY

The OAuth2 client identifier provided by the authorization server.

io_clientsecret TYPE REF TO /AWS1/CL_GLUCONNECTORPROPERTY /AWS1/CL_GLUCONNECTORPROPERTY

The OAuth2 client secret provided by the authorization server.

io_scope TYPE REF TO /AWS1/CL_GLUCONNECTORPROPERTY /AWS1/CL_GLUCONNECTORPROPERTY

The OAuth2 scope that defines the level of access requested for the client credentials flow.

it_tokenurlparameters TYPE /AWS1/CL_GLUCONNECTORPROPERTY=>TT_CONNECTORPROPERTYLIST TT_CONNECTORPROPERTYLIST

Additional parameters to include in token URL requests as key-value pairs.


Queryable Attributes

TokenUrl

The token endpoint URL where the client will request access tokens using client credentials.

Accessible with the following methods

Method Description
GET_TOKENURL() Getter for TOKENURL

RequestMethod

The HTTP method to use when making token requests, typically POST.

Accessible with the following methods

Method Description
GET_REQUESTMETHOD() Getter for REQUESTMETHOD, with configurable default
ASK_REQUESTMETHOD() Getter for REQUESTMETHOD w/ exceptions if field has no value
HAS_REQUESTMETHOD() Determine if REQUESTMETHOD has a value

ContentType

The content type to use for token requests, such as application/x-www-form-urlencoded or application/json.

Accessible with the following methods

Method Description
GET_CONTENTTYPE() Getter for CONTENTTYPE, with configurable default
ASK_CONTENTTYPE() Getter for CONTENTTYPE w/ exceptions if field has no value
HAS_CONTENTTYPE() Determine if CONTENTTYPE has a value

ClientId

The OAuth2 client identifier provided by the authorization server.

Accessible with the following methods

Method Description
GET_CLIENTID() Getter for CLIENTID

ClientSecret

The OAuth2 client secret provided by the authorization server.

Accessible with the following methods

Method Description
GET_CLIENTSECRET() Getter for CLIENTSECRET

Scope

The OAuth2 scope that defines the level of access requested for the client credentials flow.

Accessible with the following methods

Method Description
GET_SCOPE() Getter for SCOPE

TokenUrlParameters

Additional parameters to include in token URL requests as key-value pairs.

Accessible with the following methods

Method Description
GET_TOKENURLPARAMETERS() Getter for TOKENURLPARAMETERS, with configurable default
ASK_TOKENURLPARAMETERS() Getter for TOKENURLPARAMETERS w/ exceptions if field has no
HAS_TOKENURLPARAMETERS() Determine if TOKENURLPARAMETERS has a value