PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\login\SelfSignedJwtHeader Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\login\SelfSignedJwtHeader:

Public Attributes

string $alg
 
string $x5t
 
string $x5u
 

Detailed Description

JsonMapper model for headers of JWTs used in self-signed authentication and for the client data JWT header.

Definition at line 20 of file SelfSignedJwtHeader.php.

Member Data Documentation

◆ $alg

string pocketmine\network\mcpe\protocol\types\login\SelfSignedJwtHeader::$alg

@required

Definition at line 22 of file SelfSignedJwtHeader.php.

◆ $x5t

string pocketmine\network\mcpe\protocol\types\login\SelfSignedJwtHeader::$x5t

As of 2023-03-29, this field suddenly started appearing in JWTs returned by the Mojang authentication API. It's unclear whether this was intended, but it is part of the JWT spec, so it's not a problem to accept it.

Definition at line 30 of file SelfSignedJwtHeader.php.

◆ $x5u

string pocketmine\network\mcpe\protocol\types\login\SelfSignedJwtHeader::$x5u

@required

Definition at line 24 of file SelfSignedJwtHeader.php.


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