Skip to content

/AWS1/CL_SISCREO2TOKWITHIAMRSP

Output structure for CreateOAuth2TokenWithIAM operation

Contains the JWT access token, token type, and expiration per RFC 6749 ยง5.1.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_accesstoken TYPE /AWS1/SISOAUTHACCESSTOKEN /AWS1/SISOAUTHACCESSTOKEN

JWT access token containing principal identity, resource scope, and session metadata

iv_tokentype TYPE /AWS1/SISBEARERTOKENTYPE /AWS1/SISBEARERTOKENTYPE

Always "Bearer" per OAuth 2.1 specification

iv_expiresin TYPE /AWS1/SISTOKENEXPIRESIN /AWS1/SISTOKENEXPIRESIN

Token lifetime in seconds. Value is the minimum of session validity and 1 hour.


Queryable Attributes

accessToken

JWT access token containing principal identity, resource scope, and session metadata

Accessible with the following methods

Method Description
GET_ACCESSTOKEN() Getter for ACCESSTOKEN, with configurable default
ASK_ACCESSTOKEN() Getter for ACCESSTOKEN w/ exceptions if field has no value
HAS_ACCESSTOKEN() Determine if ACCESSTOKEN has a value

tokenType

Always "Bearer" per OAuth 2.1 specification

Accessible with the following methods

Method Description
GET_TOKENTYPE() Getter for TOKENTYPE, with configurable default
ASK_TOKENTYPE() Getter for TOKENTYPE w/ exceptions if field has no value
HAS_TOKENTYPE() Determine if TOKENTYPE has a value

expiresIn

Token lifetime in seconds. Value is the minimum of session validity and 1 hour.

Accessible with the following methods

Method Description
GET_EXPIRESIN() Getter for EXPIRESIN, with configurable default
ASK_EXPIRESIN() Getter for EXPIRESIN w/ exceptions if field has no value
HAS_EXPIRESIN() Determine if EXPIRESIN has a value