ePages 6.17.43 - DE_EPAGES/Design/API/Shop.pm

Package package

This package provides functions to work with Shop.

Package DE_EPAGES::Design::API::Shop

@EXPORT_OK
CreateShopJsonWebToken

Functions

CreateShopJsonWebToken

CreateShopJsonWebToken

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

Syntax
CreateShopJsonWebToken($Shop);
Input
$Shop (object)
shop object
Return
$JWT (string)
encoded JSON web token