Skip to content

/AWS1/CL_BDOCUSTOMJWTAUTHRCONF

Configuration for inbound JWT-based authorization, specifying how incoming requests should be authenticated.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_discoveryurl TYPE /AWS1/BDODISCOVERYURL /AWS1/BDODISCOVERYURL

This URL is used to fetch OpenID Connect configuration or authorization server metadata for validating incoming tokens.

Optional arguments:

it_allowedaudience TYPE /AWS1/CL_BDOALWEDAUDIENCELST_W=>TT_ALLOWEDAUDIENCELIST TT_ALLOWEDAUDIENCELIST

Represents individual audience values that are validated in the incoming JWT token validation process.

it_allowedclients TYPE /AWS1/CL_BDOALLOWEDCLISLIST_W=>TT_ALLOWEDCLIENTSLIST TT_ALLOWEDCLIENTSLIST

Represents individual client IDs that are validated in the incoming JWT token validation process.

it_allowedscopes TYPE /AWS1/CL_BDOALWDSCOPESTYPE_W=>TT_ALLOWEDSCOPESTYPE TT_ALLOWEDSCOPESTYPE

An array of scopes that are allowed to access the token.

it_customclaims TYPE /AWS1/CL_BDOCUSTCLAIMVLDTNTYPE=>TT_CUSTOMCLAIMVALIDATIONSTYPE TT_CUSTOMCLAIMVALIDATIONSTYPE

An array of objects that define a custom claim validation name, value, and operation


Queryable Attributes

discoveryUrl

This URL is used to fetch OpenID Connect configuration or authorization server metadata for validating incoming tokens.

Accessible with the following methods

Method Description
GET_DISCOVERYURL() Getter for DISCOVERYURL, with configurable default
ASK_DISCOVERYURL() Getter for DISCOVERYURL w/ exceptions if field has no value
HAS_DISCOVERYURL() Determine if DISCOVERYURL has a value

allowedAudience

Represents individual audience values that are validated in the incoming JWT token validation process.

Accessible with the following methods

Method Description
GET_ALLOWEDAUDIENCE() Getter for ALLOWEDAUDIENCE, with configurable default
ASK_ALLOWEDAUDIENCE() Getter for ALLOWEDAUDIENCE w/ exceptions if field has no val
HAS_ALLOWEDAUDIENCE() Determine if ALLOWEDAUDIENCE has a value

allowedClients

Represents individual client IDs that are validated in the incoming JWT token validation process.

Accessible with the following methods

Method Description
GET_ALLOWEDCLIENTS() Getter for ALLOWEDCLIENTS, with configurable default
ASK_ALLOWEDCLIENTS() Getter for ALLOWEDCLIENTS w/ exceptions if field has no valu
HAS_ALLOWEDCLIENTS() Determine if ALLOWEDCLIENTS has a value

allowedScopes

An array of scopes that are allowed to access the token.

Accessible with the following methods

Method Description
GET_ALLOWEDSCOPES() Getter for ALLOWEDSCOPES, with configurable default
ASK_ALLOWEDSCOPES() Getter for ALLOWEDSCOPES w/ exceptions if field has no value
HAS_ALLOWEDSCOPES() Determine if ALLOWEDSCOPES has a value

customClaims

An array of objects that define a custom claim validation name, value, and operation

Accessible with the following methods

Method Description
GET_CUSTOMCLAIMS() Getter for CUSTOMCLAIMS, with configurable default
ASK_CUSTOMCLAIMS() Getter for CUSTOMCLAIMS w/ exceptions if field has no value
HAS_CUSTOMCLAIMS() Determine if CUSTOMCLAIMS has a value