|
PocketMine-MP 5.39.4 git-a2b7d660558310260c376d1eeaff549367b9fc6e
|
Collaboration diagram for pocketmine\network\mcpe\auth\AuthKeyProvider:Public Member Functions | |
| __construct (private readonly \Logger $logger, private readonly AsyncPool $asyncPool, private readonly int $keyRefreshIntervalSeconds=self::ALLOWED_REFRESH_INTERVAL) | |
| getKey (string $keyId) | |
Definition at line 38 of file AuthKeyProvider.php.
| pocketmine\network\mcpe\auth\AuthKeyProvider::__construct | ( | private readonly \Logger | $logger, |
| private readonly AsyncPool | $asyncPool, | ||
| private readonly int | $keyRefreshIntervalSeconds = self::ALLOWED_REFRESH_INTERVAL ) |
Definition at line 48 of file AuthKeyProvider.php.
| pocketmine\network\mcpe\auth\AuthKeyProvider::getKey | ( | string | $keyId | ) |
Fetches the key for the given key ID. The promise will be resolved with an array of [issuer, pemPublicKey].
@phpstan-return Promise<array{string, string}>
Definition at line 60 of file AuthKeyProvider.php.