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
13declare(strict_types=1);
14
15namespace pocketmine\network\mcpe\protocol\types\login\openid;
16
18
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}