Skip to content

/AWS1/CL_BDCSTRPPRIVYTOKRSPOUT

Stripe Privy token response containing appId, basicAuthToken, and optionally authorizationSignature.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_appid TYPE /AWS1/BDCSTRIPEPRIVYAPPIDTYPE /AWS1/BDCSTRIPEPRIVYAPPIDTYPE

The Privy app ID for the privy-app-id header.

iv_basicauthtoken TYPE /AWS1/BDCSTRPPRIVYBSAUTHTOKTYP /AWS1/BDCSTRPPRIVYBSAUTHTOKTYP

Base64-encoded Basic Auth token (appId:appSecret) for the Authorization header.

Optional arguments:

iv_authorizationsignature TYPE /AWS1/BDCSTRPPRIVYAUTHSIGTYPE /AWS1/BDCSTRPPRIVYAUTHSIGTYPE

Base64-encoded ECDSA P-256 authorization signature (only present when includeAuthorizationSignature is true).

iv_requestexpiry TYPE /AWS1/BDCLONG /AWS1/BDCLONG

Unix timestamp in milliseconds when the authorization signature expires.


Queryable Attributes

authorizationSignature

Base64-encoded ECDSA P-256 authorization signature (only present when includeAuthorizationSignature is true).

Accessible with the following methods

Method Description
GET_AUTHORIZATIONSIGNATURE() Getter for AUTHORIZATIONSIGNATURE, with configurable default
ASK_AUTHORIZATIONSIGNATURE() Getter for AUTHORIZATIONSIGNATURE w/ exceptions if field has
HAS_AUTHORIZATIONSIGNATURE() Determine if AUTHORIZATIONSIGNATURE has a value

requestExpiry

Unix timestamp in milliseconds when the authorization signature expires.

Accessible with the following methods

Method Description
GET_REQUESTEXPIRY() Getter for REQUESTEXPIRY, with configurable default
ASK_REQUESTEXPIRY() Getter for REQUESTEXPIRY w/ exceptions if field has no value
HAS_REQUESTEXPIRY() Determine if REQUESTEXPIRY has a value

appId

The Privy app ID for the privy-app-id header.

Accessible with the following methods

Method Description
GET_APPID() Getter for APPID, with configurable default
ASK_APPID() Getter for APPID w/ exceptions if field has no value
HAS_APPID() Determine if APPID has a value

basicAuthToken

Base64-encoded Basic Auth token (appId:appSecret) for the Authorization header.

Accessible with the following methods

Method Description
GET_BASICAUTHTOKEN() Getter for BASICAUTHTOKEN, with configurable default
ASK_BASICAUTHTOKEN() Getter for BASICAUTHTOKEN w/ exceptions if field has no valu
HAS_BASICAUTHTOKEN() Determine if BASICAUTHTOKEN has a value