checkKey($key); return ''; } public function verify(JWK $key, string $input, string $signature): bool { return '' === $signature; } private function checkKey(JWK $key) { if (!\in_array($key->get('kty'), $this->allowedKeyTypes(), true)) { throw new \InvalidArgumentException('Wrong key type.'); } } public function name(): string { return 'none'; } }