[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

   1  <?php
   2  /**
   3   * This file is part of Lcobucci\JWT, a simple library to handle JWT and JWS
   4   *
   5   * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
   6   */
   7  
   8  namespace Lcobucci\JWT;
   9  
  10  use JsonSerializable;
  11  
  12  /**
  13   * Basic interface for token claims
  14   *
  15   * @author Luís Otávio Cobucci Oblonczyk <[email protected]>
  16   * @since 2.0.0
  17   */
  18  interface Claim extends JsonSerializable
  19  {
  20      /**
  21       * Returns the claim name
  22       *
  23       * @return string
  24       */
  25      public function getName();
  26  
  27      /**
  28       * Returns the claim value
  29       *
  30       * @return mixed
  31       */
  32      public function getValue();
  33  
  34      /**
  35       * Returns the string representation of the claim
  36       *
  37       * @return string
  38       */
  39      public function __toString();
  40  }


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