Package package
This package provides the JsonWebToken for the Order.
Package DE_EPAGES::Order::API::JWT
@EXPORT_OK |
Functions
AddOrderTokenToURL
Creates a new JWT with the order scope and adds it to the given URL
Syntax |
AddOrderTokenToURL($Servlet, $URL); |
Input |
|
Return |
|
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($Lifetime, $Shop, $Scope); |
Input |
|
Return |
|