[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/lcobucci/jwt/src/Encoding/ -> CannotDecodeContent.php (source)

   1  <?php
   2  
   3  namespace Lcobucci\JWT\Encoding;
   4  
   5  use JsonException;
   6  use Lcobucci\JWT\Exception;
   7  use RuntimeException;
   8  
   9  final class CannotDecodeContent extends RuntimeException implements Exception
  10  {
  11      /**
  12       * @param JsonException $previous
  13       *
  14       * @return self
  15       */
  16      public static function jsonIssues(JsonException $previous)
  17      {
  18          return new self('Error while decoding from JSON', 0, $previous);
  19      }
  20  
  21      /** @return self */
  22      public static function invalidBase64String()
  23      {
  24          return new self('Error while decoding from Base64Url, invalid base64 characters detected');
  25      }
  26  }


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