phpDocumentor

JsonWebTokenSecretProvider

Class JsonWebTokenSecretProvider

Table of Contents

SECRET_CONFIG_KEY  = 'gm_configuration/REST_API_SECRET'
Configuration key for JSON web token secret.
SECRET_LENGTH  = 64
String length of JSON web token secret.
$db  : Connection
__construct()  : mixed
JsonWebTokenParser constructor.
generateNewSecret()  : string
getSecret()  : string
setSecret()  : void

Constants

SECRET_CONFIG_KEY

Configuration key for JSON web token secret.

private mixed SECRET_CONFIG_KEY = 'gm_configuration/REST_API_SECRET'

Properties

Methods

__construct()

JsonWebTokenParser constructor.

public __construct(Connection $db) : mixed
Parameters
$db : Connection
Return values
mixed

Search results