AuthKeyProvider
Methods
__construct()
php
public function __construct(\Logger $logger, \pocketmine\scheduler\AsyncPool $asyncPool, int $keyRefreshIntervalSeconds = self::ALLOWED_REFRESH_INTERVAL)getKey()
php
public function getKey(string $keyId) : \pocketmine\promise\PromiseFetches the key for the given key ID. The promise will be resolved with an array of [issuer, pemPublicKey].
