__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php /** * This file is part of Lcobucci\JWT, a simple library to handle JWT and JWS * * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause */ namespace Lcobucci\JWT; use Lcobucci\JWT\Signer\Key; /** * This class represents a token signature * * @author Luís Otávio Cobucci Oblonczyk <[email protected]> * @since 0.1.0 */ class Signature { /** * The resultant hash * * @var string */ protected $hash; /** @var string */ private $encoded; /** * Initializes the object * * @param string $hash * @param string $encoded */ public function __construct($hash, $encoded = '') { $this->hash = $hash; $this->encoded = $encoded; } /** @return self */ public static function fromEmptyData() { return new self('', ''); } /** * Verifies if the current hash matches with with the result of the creation of * a new signature with given data * * @param Signer $signer * @param string $payload * @param Key|string $key * * @return boolean */ public function verify(Signer $signer, $payload, $key) { return $signer->verify($this->hash, $payload, $key); } /** * Returns the current hash as a string representation of the signature * * @deprecated This method has been removed from the public API in v4 * @see Signature::hash() * * @return string */ public function __toString() { return $this->hash; } /** @return string */ public function hash() { return $this->hash; } /** @return string */ public function toString() { return $this->encoded; } }
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Claim | Folder | 0775 |
|
|
| Encoding | Folder | 0775 |
|
|
| Parsing | Folder | 0775 |
|
|
| Signer | Folder | 0775 |
|
|
| Token | Folder | 0775 |
|
|
| Validation | Folder | 0775 |
|
|
| Builder.php | File | 14.81 KB | 0664 |
|
| Claim.php | File | 732 B | 0664 |
|
| Configuration.php | File | 3.89 KB | 0664 |
|
| Exception.php | File | 165 B | 0664 |
|
| Parser.php | File | 4.22 KB | 0664 |
|
| Signature.php | File | 1.72 KB | 0664 |
|
| Signer.php | File | 1.26 KB | 0664 |
|
| Token.php | File | 9.97 KB | 0664 |
|
| ValidationData.php | File | 2.66 KB | 0664 |
|
| Validator.php | File | 515 B | 0664 |
|