JWT
MMO\oauth\helpers · 1 symbol · generated 5 Oct 2026
class MMO\oauth\helpers\JWT
implements JsonSerializable- Namespace
MMO\oauth\helpers- Implements
- JsonSerializable
Constants1
const SUPPORTED_ALGORITHM = […6 items]Methods5
Extract the claims from a JWT and validate them
static function Decode(string $encoded, MMO\oauth\keys\PublicKey|array|null $key = null): staticfunction encode(
?MMO\oauth\keys\PrivateKey $key = null,
?string $keyId = null,
string $algorithm = 'RS256'
): stringfunction getClaims(): arrayfunction jsonSerialize(): arrayfunction __construct(array $claims = [])