[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

   1  <?php
   2  
   3  namespace Lcobucci\JWT\Signer;
   4  
   5  final class None extends BaseSigner
   6  {
   7      public function getAlgorithmId()
   8      {
   9          return 'none';
  10      }
  11  
  12      public function createHash($payload, Key $key)
  13      {
  14          return '';
  15      }
  16  
  17      public function doVerify($expected, $payload, Key $key)
  18      {
  19          return $expected === '';
  20      }
  21  }


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