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