<?php declare(strict_types=1); namespace Kreait\Firebase\JWT\Signer; use Lcobucci\JWT\Signer; use Lcobucci\JWT\Signer\Key; final class None implements Signer { public function algorithmId(): string { return 'none'; } public function sign(string $payload, Key $key): string { // @phpstan-ignore-next-line return ''; } public function verify(string $expected, string $payload, Key $key): bool { // @phpstan-ignore-next-line return $expected === ''; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
None.php | File | 533 B | 0644 |
|