Skip to content

/AWS1/CL_SISCREO2TOKWITHIAMRSP

Output structure for CreateOAuth2TokenWithIAM operation

Contains the access token, token type, and expiration as defined in RFC 6749 ยง5.1.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_accesstoken TYPE /AWS1/SISOAUTHACCESSTOKEN /AWS1/SISOAUTHACCESSTOKEN

Access token containing principal identity, resource scope, and session metadata.

iv_tokentype TYPE /AWS1/SISBEARERTOKENTYPE /AWS1/SISBEARERTOKENTYPE

The token type. Always "Bearer" as defined in RFC 6749.

iv_expiresin TYPE /AWS1/SISTOKENEXPIRESIN /AWS1/SISTOKENEXPIRESIN

Token lifetime in seconds. Value is the minimum of the caller's session validity and 1 hour (3600 seconds).


Queryable Attributes

accessToken

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

The token type. Always "Bearer" as defined in RFC 6749.

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 the caller's session validity and 1 hour (3600 seconds).

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