[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/lcobucci/jwt/src/Claim/ -> Validatable.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\Claim;
   9  
  10  use Lcobucci\JWT\ValidationData;
  11  
  12  /**
  13   * Basic interface for validatable token claims
  14   *
  15   * @deprecated This interface will be removed on v4
  16   *
  17   * @author Luís Otávio Cobucci Oblonczyk <[email protected]>
  18   * @since 2.0.0
  19   */
  20  interface Validatable
  21  {
  22      /**
  23       * Returns if claim is valid according with given data
  24       *
  25       * @param ValidationData $data
  26       *
  27       * @return boolean
  28       */
  29      public function validate(ValidationData $data);
  30  }


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