Skip to content

ProcessSelfSignedLoginTask ​

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

Extends AsyncTask

Processes modernized self-signed logins TODO: Mostly duplicated code from ProcessOpenIdLoginTask. Can't generalise this in a patch release due to BC breaks

Constants ​

MOJANG_AUDIENCE ​

php
public const MOJANG_AUDIENCE = "api://auth-minecraft-services/multiplayer"

Methods ​

__construct() ​

php
public function __construct(string $jwt, string $selfSignedKeyDer, string $clientDataJwt, 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.