/home/techb158/ileadtechnology.com/SSM/vendor/lcobucci/jwt/src
NameSizeModeActions
Claim/-0755rm
Parsing/-0755rm
Signer/-0755rm
Builder.php110110644editdlrm
Claim.php7330644editdlrm
Parser.php36230644editdlrm
Signature.php11820644editdlrm
Signer.php12860644editdlrm
Token.php57100644editdlrm
ValidationData.php26000644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/lcobucci/jwt/src/Signature.php (1182B)
* @since 0.1.0 */ class Signature { /** * The resultant hash * * @var string */ protected $hash; /** * Initializes the object * * @param string $hash */ public function __construct($hash) { $this->hash = $hash; } /** * 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 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 * * @return string */ public function __toString() { return $this->hash; } }