API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Static Public Member Functions | |
static | build ($key, $payload, $expirationOffset=0) |
|
static |
Create a JSON Web Token string
KeyAbstract | string | $key | the key to use to sign the token, or name of key to build |
array | \Traversable | $payload | traversable set of claims, claim => value |
int | $expirationOffset | seconds from now that token will expire. If not specified, an "exp" claim will not be added or updated |
DomainException
InvalidArgumentException
UnexpectedValueException