Your IP : 216.73.217.77


Current Path : /home/users/unlimited/www/api.xalonx.com/vendor/kreait/firebase-tokens/src/JWT/Signer/
Upload File :
Current File : /home/users/unlimited/www/api.xalonx.com/vendor/kreait/firebase-tokens/src/JWT/Signer/None.php

<?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 === '';
    }
}