API - XOOPS 2.5.11 Beta 2
By monxoops.fr
KeyFactory Class Reference

Static Public Member Functions

static build ($keyName, StorageInterface $storage=null)
 

Member Function Documentation

◆ build()

static build (   $keyName,
StorageInterface  $storage = null 
)
static

Create a Key object for JWT use based on default choices. If the key has not been established, create it.

Parameters
string$keyNamename of the key
StorageInterface$storagekey store to use, defaults to FileStorage
Returns
Basic
Exceptions

InvalidArgumentException on unusable key name

Here is the caller graph for this function:

The documentation for this class was generated from the following file: