ePages 7.47.0 - DE_EPAGES/Order/API/JWT.pm

Package package

This package provides the JsonWebToken for the Order.

Package DE_EPAGES::Order::API::JWT

@EXPORT_OK
CreateOrderJsonWebToken

Functions

CreateOrderJsonWebToken

CreateOrderJsonWebToken

Returns a newly created JSON web token with the order guid as subject and the secret taken from the "jwtsecret" key-value pair of the respective store conf. See DE_EPAGES::Core::API::PerlTools::CreateJsonWebToken.

Syntax
CreateOrderJsonWebToken($GUID);
Input
$GUID (string)
the order's GUID
Return
$JWT (string)
encoded JSON web token