Skip to content

/AWS1/CL_GLUCNCTRAUTHCODEPROPS

OAuth2 authorization code configuration that defines the properties needed for the Authorization Code grant type flow.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_authorizationcodeurl TYPE REF TO /AWS1/CL_GLUCONNECTORPROPERTY /AWS1/CL_GLUCONNECTORPROPERTY

The authorization endpoint URL where users will be redirected to grant authorization.

io_authorizationcode TYPE REF TO /AWS1/CL_GLUCONNECTORPROPERTY /AWS1/CL_GLUCONNECTORPROPERTY

The authorization code received from the authorization server after user consent.

io_redirecturi TYPE REF TO /AWS1/CL_GLUCONNECTORPROPERTY /AWS1/CL_GLUCONNECTORPROPERTY

The redirect URI that must match the URI registered with the authorization server.

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

The token endpoint URL where the authorization code will be exchanged for an access token.

iv_requestmethod TYPE /AWS1/GLUHTTPMETHOD /AWS1/GLUHTTPMETHOD

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

iv_contenttype TYPE /AWS1/GLUCONTENTTYPE /AWS1/GLUCONTENTTYPE

The content type to use for token exchange 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 authorization code flow.

io_prompt TYPE REF TO /AWS1/CL_GLUCONNECTORPROPERTY /AWS1/CL_GLUCONNECTORPROPERTY

The OAuth2 prompt parameter that controls the authorization server's behavior during user authentication.

it_tokenurlparameters TYPE /AWS1/CL_GLUCONNECTORPROPERTY=>TT_CONNECTORPROPERTYLIST TT_CONNECTORPROPERTYLIST

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


Queryable Attributes

AuthorizationCodeUrl

The authorization endpoint URL where users will be redirected to grant authorization.

Accessible with the following methods

Method Description
GET_AUTHORIZATIONCODEURL() Getter for AUTHORIZATIONCODEURL

AuthorizationCode

The authorization code received from the authorization server after user consent.

Accessible with the following methods

Method Description
GET_AUTHORIZATIONCODE() Getter for AUTHORIZATIONCODE

RedirectUri

The redirect URI that must match the URI registered with the authorization server.

Accessible with the following methods

Method Description
GET_REDIRECTURI() Getter for REDIRECTURI

TokenUrl

The token endpoint URL where the authorization code will be exchanged for an access token.

Accessible with the following methods

Method Description
GET_TOKENURL() Getter for TOKENURL

RequestMethod

The HTTP method to use when making token exchange 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 exchange 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 authorization code flow.

Accessible with the following methods

Method Description
GET_SCOPE() Getter for SCOPE

Prompt

The OAuth2 prompt parameter that controls the authorization server's behavior during user authentication.

Accessible with the following methods

Method Description
GET_PROMPT() Getter for PROMPT

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