[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/lcobucci/jwt/src/Signer/ -> InvalidKeyProvided.php (source)

   1  <?php
   2  
   3  namespace Lcobucci\JWT\Signer;
   4  
   5  use InvalidArgumentException;
   6  use Lcobucci\JWT\Exception;
   7  
   8  final class InvalidKeyProvided extends InvalidArgumentException implements Exception
   9  {
  10      /**
  11       * @param string $details
  12       *
  13       * @return self
  14       */
  15      public static function cannotBeParsed($details)
  16      {
  17          return new self('It was not possible to parse your key, reason: ' . $details);
  18      }
  19  
  20      /** @return self */
  21      public static function incompatibleKey()
  22      {
  23          return new self('This key is not compatible with this signer');
  24      }
  25  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer