[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/lcobucci/jwt/src/ -> Signature.php (summary)

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
File Size: 87 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Signature:: (6 methods):
  __construct()
  fromEmptyData()
  verify()
  __toString()
  hash()
  toString()


Class: Signature  - X-Ref

This class represents a token signature

__construct($hash, $encoded = '')   X-Ref
Initializes the object

param: string $hash
param: string $encoded

fromEmptyData()   X-Ref
No description

verify(Signer $signer, $payload, $key)   X-Ref
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

__toString()   X-Ref
Returns the current hash as a string representation of the signature

return: string

hash()   X-Ref
No description

toString()   X-Ref
No description



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