PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
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 validateSelfSignedToken (string $jwt, ?string $expectedKeyDer)
 

Public Attributes

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

Detailed Description

Definition at line 36 of file AuthJwtHelper.php.

Member Function Documentation

◆ validateLegacyAuthToken()

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

Definition at line 104 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 59 of file AuthJwtHelper.php.

◆ validateSelfSignedToken()

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

Definition at line 128 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 38 of file AuthJwtHelper.php.


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