|
Cheetah
|
Public Member Functions | |
| __construct () | |
| encode ($payload, $key, $alg='HS256', $keyId=null) | |
| decode ($jwt, $key=null, $allowedAlgorithms=null) | |
| urlSafeB64Encode ($data) | |
| urlSafeB64Decode ($b64) | |
Public Member Functions inherited from OAuth2\Encryption\EncryptionInterface | |
| encode ($payload, $key, $algorithm=null) | |
Bridge file to use the firebase/php-jwt package for JWT encoding and decoding.
Definition at line 9 of file FirebaseJwt.php.
| OAuth2\Encryption\FirebaseJwt::__construct | ( | ) |
Definition at line 11 of file FirebaseJwt.php.
Implements OAuth2\Encryption\EncryptionInterface.
Definition at line 23 of file FirebaseJwt.php.
| OAuth2\Encryption\FirebaseJwt::encode | ( | $payload, | |
| $key, | |||
$alg = 'HS256', |
|||
$keyId = null |
|||
| ) |
Definition at line 18 of file FirebaseJwt.php.
| OAuth2\Encryption\FirebaseJwt::urlSafeB64Decode | ( | $b64 | ) |
Implements OAuth2\Encryption\EncryptionInterface.
Definition at line 43 of file FirebaseJwt.php.
| OAuth2\Encryption\FirebaseJwt::urlSafeB64Encode | ( | $data | ) |
Implements OAuth2\Encryption\EncryptionInterface.
Definition at line 38 of file FirebaseJwt.php.