[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/web-token/jwt-core/ -> AlgorithmManagerFactory.php (summary)

(no description)

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

Defines 1 class

AlgorithmManagerFactory:: (4 methods):
  add()
  aliases()
  all()
  create()


Class: AlgorithmManagerFactory  - X-Ref

add(string $alias, Algorithm $algorithm)   X-Ref
Adds an algorithm.

Each algorithm is identified by an alias hence it is allowed to have the same algorithm twice (or more).
This can be helpful when an algorithm have several configuration options.

aliases()   X-Ref
Returns the list of aliases.

return: string[]

all()   X-Ref
Returns all algorithms supported by this factory.
This is an associative array. Keys are the aliases of the algorithms.

return: Algorithm[]

create(array $aliases)   X-Ref
Create an algorithm manager using the given aliases.

param: string[] $aliases



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