|
const | MOJANG_ROOT_PUBLIC_KEY = "MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAECRXueJeTDqNRRgJi/vlRufByu/2G0i2Ebt6YMar5QX/R0DIIyrJMcUpruK4QveTfJSTp3Shlq4Gk34cD/4GUWwkv0DVuzeuB+tXija7HBxii03NHDbPAD0AKnLr2wdAp" |
|
Definition at line 39 of file ProcessLoginTask.php.
◆ __construct()
pocketmine\network\mcpe\auth\ProcessLoginTask::__construct |
( |
array |
$chainJwts, |
|
|
private string |
$clientDataJwt, |
|
|
private bool |
$authRequired, |
|
|
\Closure |
$onCompletion |
|
) |
| |
◆ cancelRun()
pocketmine\scheduler\AsyncTask::cancelRun |
( |
| ) |
|
|
inherited |
◆ checkProgressUpdates()
pocketmine\scheduler\AsyncTask::checkProgressUpdates |
( |
| ) |
|
|
inherited |
◆ fetchLocal()
pocketmine\scheduler\AsyncTask::fetchLocal |
( |
string |
$key | ) |
|
|
protectedinherited |
Retrieves data stored in thread-local storage.
If you used storeLocal(), you can use this on the same thread to fetch data stored. This should be used during onProgressUpdate() and onCompletion() to fetch thread-local data stored on the parent thread.
- Returns
- mixed
- Exceptions
-
InvalidArgumentException if no data were stored by this AsyncTask instance.
Definition at line 228 of file AsyncTask.php.
◆ getResult()
pocketmine\scheduler\AsyncTask::getResult |
( |
| ) |
|
|
inherited |
◆ hasCancelledRun()
pocketmine\scheduler\AsyncTask::hasCancelledRun |
( |
| ) |
|
|
inherited |
◆ hasResult()
pocketmine\scheduler\AsyncTask::hasResult |
( |
| ) |
|
|
inherited |
◆ isCrashed()
pocketmine\scheduler\AsyncTask::isCrashed |
( |
| ) |
|
|
inherited |
◆ isFinished()
pocketmine\scheduler\AsyncTask::isFinished |
( |
| ) |
|
|
inherited |
Returns whether this task has finished executing, whether successfully or not. This differs from isRunning() because it is not true prior to task execution.
Definition at line 98 of file AsyncTask.php.
◆ isSubmitted()
pocketmine\scheduler\AsyncTask::isSubmitted |
( |
| ) |
|
|
inherited |
◆ onCompletion()
pocketmine\network\mcpe\auth\ProcessLoginTask::onCompletion |
( |
| ) |
|
◆ onError()
pocketmine\scheduler\AsyncTask::onError |
( |
| ) |
|
|
inherited |
◆ onProgressUpdate()
pocketmine\scheduler\AsyncTask::onProgressUpdate |
( |
|
$progress | ) |
|
|
inherited |
◆ onRun()
pocketmine\network\mcpe\auth\ProcessLoginTask::onRun |
( |
| ) |
|
◆ publishProgress()
pocketmine\scheduler\AsyncTask::publishProgress |
( |
mixed |
$progress | ) |
|
|
inherited |
◆ reallyDestruct()
pocketmine\scheduler\AsyncTask::reallyDestruct |
( |
| ) |
|
|
protectedinherited |
Override this to do normal __destruct() cleanup from a child class.
Definition at line 245 of file AsyncTask.php.
◆ run()
pocketmine\scheduler\AsyncTask::run |
( |
| ) |
|
|
inherited |
◆ setResult()
pocketmine\scheduler\AsyncTask::setResult |
( |
mixed |
$result | ) |
|
|
inherited |
◆ setSubmitted()
pocketmine\scheduler\AsyncTask::setSubmitted |
( |
| ) |
|
|
inherited |
◆ storeLocal()
pocketmine\scheduler\AsyncTask::storeLocal |
( |
string |
$key, |
|
|
mixed |
$complexData |
|
) |
| |
|
protectedinherited |
◆ MOJANG_ROOT_PUBLIC_KEY
const pocketmine\network\mcpe\auth\ProcessLoginTask::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.
Definition at line 47 of file ProcessLoginTask.php.
The documentation for this class was generated from the following file: