Skip to content

/AWS1/CL_GLUCNCTROAUTH2PROPS

OAuth2 configuration container that defines the authentication properties and flow-specific configurations for OAuth2-based connections.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_oauth2granttype TYPE /AWS1/GLUCNCTROAUTH2GRANTTYPE /AWS1/GLUCNCTROAUTH2GRANTTYPE

The OAuth2 grant type to use for authentication, such as CLIENT_CREDENTIALS, JWT_BEARER, or AUTHORIZATION_CODE.

Optional arguments:

io_clientcredsproperties TYPE REF TO /AWS1/CL_GLUCLIENTCREDSPROPS /AWS1/CL_GLUCLIENTCREDSPROPS

Configuration properties specific to the OAuth2 Client Credentials grant type flow.

io_jwtbearerproperties TYPE REF TO /AWS1/CL_GLUJWTBEARERPROPS /AWS1/CL_GLUJWTBEARERPROPS

Configuration properties specific to the OAuth2 JWT Bearer grant type flow.

io_authcodeproperties TYPE REF TO /AWS1/CL_GLUCNCTRAUTHCODEPROPS /AWS1/CL_GLUCNCTRAUTHCODEPROPS

Configuration properties specific to the OAuth2 Authorization Code grant type flow.


Queryable Attributes

OAuth2GrantType

The OAuth2 grant type to use for authentication, such as CLIENT_CREDENTIALS, JWT_BEARER, or AUTHORIZATION_CODE.

Accessible with the following methods

Method Description
GET_OAUTH2GRANTTYPE() Getter for OAUTH2GRANTTYPE, with configurable default
ASK_OAUTH2GRANTTYPE() Getter for OAUTH2GRANTTYPE w/ exceptions if field has no val
HAS_OAUTH2GRANTTYPE() Determine if OAUTH2GRANTTYPE has a value

ClientCredentialsProperties

Configuration properties specific to the OAuth2 Client Credentials grant type flow.

Accessible with the following methods

Method Description
GET_CLIENTCREDSPROPERTIES() Getter for CLIENTCREDENTIALSPROPERTIES

JWTBearerProperties

Configuration properties specific to the OAuth2 JWT Bearer grant type flow.

Accessible with the following methods

Method Description
GET_JWTBEARERPROPERTIES() Getter for JWTBEARERPROPERTIES

AuthorizationCodeProperties

Configuration properties specific to the OAuth2 Authorization Code grant type flow.

Accessible with the following methods

Method Description
GET_AUTHCODEPROPERTIES() Getter for AUTHORIZATIONCODEPROPERTIES