CoreFiles by mySites.guru
InvalidKeyProvided.php25 lines, 565 bytes, from Joomla_4.2.0-beta3-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta2
md5
9f07d0646b0618e441f9ad06db1c9b29
sha1
dbf3b1a1361fda93732f19d1fa32bd7dfaf946cf
sha256
b24cec41430890c61346b555ff4d72c6a148dc7ca4bae0b3dd8d905dfe1b82f4
<?php

namespace Lcobucci\JWT\Signer;

use InvalidArgumentException;
use Lcobucci\JWT\Exception;

final class InvalidKeyProvided extends InvalidArgumentException implements Exception
{
    /**
     * @param string $details
     *
     * @return self
     */
    public static function cannotBeParsed($details)
    {
        return new self('It was not possible to parse your key, reason: ' . $details);
    }

    /** @return self */
    public static function incompatibleKey()
    {
        return new self('This key is not compatible with this signer');
    }
}

The same content is in 75 releases, Joomla 4.2.0-beta3 to 4.4.14. See them all, or every version of this file.