PocketMine-MP 5.44.4 git-bc94a0da0c87abe7eb99d229a9ec672b3c405d11
Loading...
Searching...
No Matches
pocketmine\network\mcpe\auth\AuthJwtHelper Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\auth\AuthJwtHelper:

Static Public Member Functions

static validateLegacyAuthToken (string $jwt, ?string $expectedKeyDer)
 
static validateOpenIdAuthToken (string $jwt, string $signingKeyDer, string $issuer, string $audience)
 
static validateSelfSignedAuthToken (string $jwt, string $signingKeyDer, string $audience)
 
static validateSelfSignedToken (string $jwt, ?string $expectedKeyDer)
 

Public Attributes

const MOJANG_AUDIENCE = "api://auth-minecraft-services/multiplayer"
 

Detailed Description

Definition at line 37 of file AuthJwtHelper.php.

Member Function Documentation

◆ validateLegacyAuthToken()

static pocketmine\network\mcpe\auth\AuthJwtHelper::validateLegacyAuthToken ( string $jwt,
?string $expectedKeyDer )
static
Deprecated
Exceptions
VerifyLoginExceptionif errors are encountered

Definition at line 121 of file AuthJwtHelper.php.

◆ validateOpenIdAuthToken()

static pocketmine\network\mcpe\auth\AuthJwtHelper::validateOpenIdAuthToken ( string $jwt,
string $signingKeyDer,
string $issuer,
string $audience )
static
Exceptions
VerifyLoginExceptionif errors are encountered

Definition at line 111 of file AuthJwtHelper.php.

◆ validateSelfSignedAuthToken()

static pocketmine\network\mcpe\auth\AuthJwtHelper::validateSelfSignedAuthToken ( string $jwt,
string $signingKeyDer,
string $audience )
static
Exceptions
VerifyLoginExceptionif errors are encountered

Definition at line 102 of file AuthJwtHelper.php.

◆ validateSelfSignedToken()

static pocketmine\network\mcpe\auth\AuthJwtHelper::validateSelfSignedToken ( string $jwt,
?string $expectedKeyDer )
static

Used for validating the info in clientDataJwt

Definition at line 148 of file AuthJwtHelper.php.

Member Data Documentation

◆ MOJANG_AUDIENCE

const pocketmine\network\mcpe\auth\AuthJwtHelper::MOJANG_AUDIENCE = "api://auth-minecraft-services/multiplayer"

Definition at line 39 of file AuthJwtHelper.php.


The documentation for this class was generated from the following file: