Jwt extends Base
Table of Contents
- SERVER_NAME = 'servername'
- $configuration : Configuration
- $key : string
- __construct() : mixed
- authorize() : object
- Authorize providet JWT
- getToken() : string
- Returns JWT
Constants
SERVER_NAME
private
mixed
SERVER_NAME
= 'servername'
Properties
$configuration
protected
Configuration
$configuration
$key
private
string
$key
= ''
Methods
__construct()
public
__construct() : mixed
Return values
mixed —authorize()
Authorize providet JWT
public
authorize(string $token) : object
Parameters
- $token : string
Return values
object —getToken()
Returns JWT
public
getToken([array<string|int, string|int> $data = [] ]) : string
Parameters
- $data : array<string|int, string|int> = []