Skip to content

/AWS1/CL_BDCLNKACCDEVELOPERJWT

Authentication method using JWT with key ID and subject claims.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_kid TYPE /AWS1/BDCJWTKEYID /AWS1/BDCJWTKEYID

The key ID (kid) from the JWT header. Identifies which key was used to sign the JWT.

iv_sub TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The subject (sub) claim from the JWT payload. Identifies the principal that is the subject of the JWT.


Queryable Attributes

kid

The key ID (kid) from the JWT header. Identifies which key was used to sign the JWT.

Accessible with the following methods

Method Description
GET_KID() Getter for KID, with configurable default
ASK_KID() Getter for KID w/ exceptions if field has no value
HAS_KID() Determine if KID has a value

sub

The subject (sub) claim from the JWT payload. Identifies the principal that is the subject of the JWT.

Accessible with the following methods

Method Description
GET_SUB() Getter for SUB, with configurable default
ASK_SUB() Getter for SUB w/ exceptions if field has no value
HAS_SUB() Determine if SUB has a value