Skip to content

ProcessLegacyLoginTask ​

class · pocketmine\network\mcpe\auth\ProcessLegacyLoginTask · source

Extends AsyncTask

Constants ​

LEGACY_MOJANG_ROOT_PUBLIC_KEY ​

php
public const LEGACY_MOJANG_ROOT_PUBLIC_KEY = "MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAECRXueJeTDqNRRgJi/vlRufByu/2G0i2Ebt6YMar5QX/R0DIIyrJMcUpruK4QveTfJSTp3Shlq4Gk34cD/4GUWwkv0DVuzeuB+tXija7HBxii03NHDbPAD0AKnLr2wdAp"

New Mojang root auth key. Mojang notified third-party developers of this change prior to the release of 1.20.0. Expectations were that this would be used starting a "couple of weeks" after the release, but as of 2023-07-01, it has not yet been deployed.

Methods ​

__construct() ​

php
public function __construct(array $chainJwts, string $clientDataJwt, ?string $rootAuthKeyDer, bool $authRequired, \Closure $onCompletion)

onCompletion() ​

php
public function onCompletion() : void

onRun() ​

php
public function onRun() : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.