PocketMine-MP 5.43.2 git-a137a986d01d9af23452b2e741699a770c7ae112
Loading...
Searching...
No Matches
SelfSignedJwtBody.php
1<?php
2
3/*
4 *
5 * ____ _ _ __ __ _ __ __ ____
6 * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
7 * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
8 * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
9 * |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
10 *
11 * This program is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * @author PocketMine Team
17 * @link http://www.pocketmine.net/
18 *
19 *
20 */
21
22declare(strict_types=1);
23
24namespace pocketmine\network\mcpe\protocol\types\login\openid;
25
27
32
34 public string $cpk; // the public key that was used to sign the "client properties" token
35
37 public string $leguuid; // the client's chosen UUID
38
40 public string $xname; // the player's chosen name, nothing to do with Xbox but shares the same property name
41
43 public string $mid; // the player's Minecraft ID, identifying the player in Minecraft's PlayFab namespace
44
45 public int $ap; // ??
46
47 //The following are not required for self-signed authentication, but seem to be present as empty strings in a
48 //self-signed token for some reason
49
50 public string $nid;
51 public string $nname;
52
53 public string $pid;
54 public string $pname;
55
56 public string $xid;
57
58}