JWT
extends Helper
in package
Table of Contents
- $app : App
- $context : mixed
- __call() : mixed
- __construct() : mixed
- __get() : mixed
- __invoke() : mixed
- create() : mixed
- decode() : mixed
- encode() : mixed
- alias for create
- initialize() : mixed
Properties
$app
public
App
$app
$context
public
mixed
$context
Methods
__call()
public
__call(mixed $name, mixed $arguments) : mixed
Parameters
- $name : mixed
- $arguments : mixed
Return values
mixed —__construct()
public
__construct(App $app[, mixed $context = null ]) : mixed
Parameters
- $app : App
- $context : mixed = null
Return values
mixed —__get()
public
__get(mixed $name) : mixed
Parameters
- $name : mixed
Return values
mixed —__invoke()
public
__invoke(mixed $helper) : mixed
Parameters
- $helper : mixed
Return values
mixed —create()
public
create(array<string|int, mixed> $payload[, string|null $key = null ]) : mixed
Parameters
- $payload : array<string|int, mixed>
- $key : string|null = null
Return values
mixed —decode()
public
decode(string $token[, string|null $key = null ]) : mixed
Parameters
- $token : string
- $key : string|null = null
Return values
mixed —encode()
alias for create
public
encode(array<string|int, mixed> $payload[, string|null $key = null ]) : mixed
Parameters
- $payload : array<string|int, mixed>
- $key : string|null = null
Return values
mixed —initialize()
protected
initialize() : mixed