Definition at line 60 of file JwtUtils.php.
◆ b64UrlDecode()
static pocketmine\network\mcpe\JwtUtils::b64UrlDecode |
( |
string | $str | ) |
|
|
static |
◆ b64UrlEncode()
static pocketmine\network\mcpe\JwtUtils::b64UrlEncode |
( |
string | $str | ) |
|
|
static |
◆ create()
static pocketmine\network\mcpe\JwtUtils::create |
( |
array | $header, |
|
|
array | $claims, |
|
|
\OpenSSLAsymmetricKey | $signingKey ) |
|
static |
@phpstan-param array<string, mixed> $header @phpstan-param array<string, mixed> $claims
Definition at line 195 of file JwtUtils.php.
◆ emitDerPublicKey()
static pocketmine\network\mcpe\JwtUtils::emitDerPublicKey |
( |
\OpenSSLAsymmetricKey | $opensslKey | ) |
|
|
static |
◆ parse()
static pocketmine\network\mcpe\JwtUtils::parse |
( |
string | $token | ) |
|
|
static |
◆ parseDerPublicKey()
static pocketmine\network\mcpe\JwtUtils::parseDerPublicKey |
( |
string | $derKey | ) |
|
|
static |
◆ split()
static pocketmine\network\mcpe\JwtUtils::split |
( |
string | $jwt | ) |
|
|
static |
- Returns
- string[] @phpstan-return array{string, string, string}
- Exceptions
-
Definition at line 74 of file JwtUtils.php.
◆ verify()
static pocketmine\network\mcpe\JwtUtils::verify |
( |
string | $jwt, |
|
|
\OpenSSLAsymmetricKey | $signingKey ) |
|
static |
◆ BEDROCK_SIGNING_KEY_CURVE_NAME
const pocketmine\network\mcpe\JwtUtils::BEDROCK_SIGNING_KEY_CURVE_NAME = "secp384r1" |
The documentation for this class was generated from the following file: