[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/web-token/jwt-signature/ -> JWSLoader.php (summary)

(no description)

File Size: 124 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

JWSLoader:: (7 methods):
  __construct()
  getJwsVerifier()
  getHeaderCheckerManager()
  getSerializerManager()
  loadAndVerifyWithKey()
  loadAndVerifyWithKeySet()
  processSignature()


Class: JWSLoader  - X-Ref

__construct(JWSSerializerManager $serializerManager, JWSVerifier $jwsVerifier, ?HeaderCheckerManager $headerCheckerManager)   X-Ref
JWSLoader constructor.


getJwsVerifier()   X-Ref
Returns the JWSVerifier associated to the JWSLoader.


getHeaderCheckerManager()   X-Ref
Returns the Header Checker Manager associated to the JWSLoader.


getSerializerManager()   X-Ref
Returns the JWSSerializer associated to the JWSLoader.


loadAndVerifyWithKey(string $token, JWK $key, ?int &$signature, ?string $payload = null)   X-Ref
This method will try to load and verify the token using the given key.
It returns a JWS and will populate the $signature variable in case of success, otherwise an exception is thrown.


loadAndVerifyWithKeySet(string $token, JWKSet $keyset, ?int &$signature, ?string $payload = null)   X-Ref
This method will try to load and verify the token using the given key set.
It returns a JWS and will populate the $signature variable in case of success, otherwise an exception is thrown.


processSignature(JWS $jws, JWKSet $keyset, int $signature, ?string $payload)   X-Ref
No description



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