PocketMine-MP
5.44.3 git-327e8a1690982f1ac3634944d705ebad5d91f4ad
Loading...
Searching...
No Matches
SelfSignedJwtBody.php
1
<?php
2
3
/*
4
* This file is part of BedrockProtocol.
5
* Copyright (C) 2014-2022 PocketMine Team <https://github.com/pmmp/BedrockProtocol>
6
*
7
* BedrockProtocol is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU Lesser General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*/
12
13
declare(strict_types=1);
14
15
namespace
pocketmine\network\mcpe\protocol\types\login\openid;
16
17
use
pocketmine\network\mcpe\protocol\types\login\JwtBodyRfc7519
;
18
22
final
class
SelfSignedJwtBody
extends
JwtBodyRfc7519
{
23
25
public
string
$cpk
;
// the public key that was used to sign the "client properties" token
26
28
public
string
$leguuid
;
// the client's chosen UUID
29
31
public
string
$xname
;
// the player's chosen name, nothing to do with Xbox but shares the same property name
32
34
public
string
$mid
;
// the player's Minecraft ID, identifying the player in Minecraft's PlayFab namespace
35
36
public
int
$ap;
// ??
37
38
//The following are not required for self-signed authentication, but seem to be present as empty strings in a
39
//self-signed token for some reason
40
41
public
string
$nid;
42
public
string
$nname;
43
44
public
string
$pid;
45
public
string
$pname;
46
47
public
string
$xid;
48
49
}
pocketmine\network\mcpe\protocol\types\login\JwtBodyRfc7519
Definition
JwtBodyRfc7519.php:21
pocketmine\network\mcpe\protocol\types\login\openid\SelfSignedJwtBody
Definition
SelfSignedJwtBody.php:22
pocketmine\network\mcpe\protocol\types\login\openid\SelfSignedJwtBody\$leguuid
string $leguuid
Definition
SelfSignedJwtBody.php:28
pocketmine\network\mcpe\protocol\types\login\openid\SelfSignedJwtBody\$cpk
string $cpk
Definition
SelfSignedJwtBody.php:25
pocketmine\network\mcpe\protocol\types\login\openid\SelfSignedJwtBody\$mid
string $mid
Definition
SelfSignedJwtBody.php:34
pocketmine\network\mcpe\protocol\types\login\openid\SelfSignedJwtBody\$xname
string $xname
Definition
SelfSignedJwtBody.php:31
vendor
pocketmine
bedrock-protocol
src
types
login
openid
SelfSignedJwtBody.php
Generated by
1.12.0