Skip to content

/AWS1/CL_QSTAPIKEYCONNMETADATA

Configuration for API key-based authentication to external services.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_baseendpoint TYPE /AWS1/QSTENDPOINT /AWS1/QSTENDPOINT

The base URL endpoint for the external service.

iv_apikey TYPE /AWS1/QSTAPIKEY /AWS1/QSTAPIKEY

The API key used for authentication.

Optional arguments:

iv_email TYPE /AWS1/QSTEMAIL /AWS1/QSTEMAIL

The email address associated with the API key, if required.


Queryable Attributes

BaseEndpoint

The base URL endpoint 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

ApiKey

The API key used for authentication.

Accessible with the following methods

Method Description
GET_APIKEY() Getter for APIKEY, with configurable default
ASK_APIKEY() Getter for APIKEY w/ exceptions if field has no value
HAS_APIKEY() Determine if APIKEY has a value

Email

The email address associated with the API key, if required.

Accessible with the following methods

Method Description
GET_EMAIL() Getter for EMAIL, with configurable default
ASK_EMAIL() Getter for EMAIL w/ exceptions if field has no value
HAS_EMAIL() Determine if EMAIL has a value