\OAuth2\EncryptionFirebaseJwt

Bridge file to use the firebase/php-jwt package for JWT encoding and decoding.

Summary

Methods
Properties
Constants
__construct()
encode()
decode()
urlSafeB64Encode()
urlSafeB64Decode()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

encode()

encode(  $payload,   $key,   $alg = 'HS256',   $keyId = null) : mixed

Parameters

$payload
$key
$alg
$keyId

Returns

mixed

decode()

decode(  $jwt,   $key = null,   $allowedAlgorithms = null) : mixed

Parameters

$jwt
$key
$allowedAlgorithms

Returns

mixed

urlSafeB64Encode()

urlSafeB64Encode(  $data) : mixed

Parameters

$data

Returns

mixed

urlSafeB64Decode()

urlSafeB64Decode(  $b64) : mixed

Parameters

$b64

Returns

mixed