Class to represent an HTTP message request.
More...
|
static | setJwtClient ($jwtClient=null) |
| Set the JWT client to use for handling JWTs.
|
|
static | getJwtClient () |
| Get the JWT client to use for handling JWTs.
|
|
|
static | $life = 60 |
| Life (in seconds) of an issued JWT (default is 1 minute).
|
|
static | $leeway = 180 |
| Leeway (in seconds) to allow when checking timestamps (default is 3 minutes).
|
|
static | $allowJkuHeader = false |
| Allow use of jku header in JWT.
|
|
Class to represent an HTTP message request.
- Author
- Stephen P Vickers steph.nosp@m.en@s.nosp@m.pvsof.nosp@m.twar.nosp@m.eprod.nosp@m.ucts.nosp@m..com
- Copyright
- SPV Software Products
- Licence: http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3
Definition at line 14 of file Jwt.php.
◆ __construct()
Class constructor.
Definition at line 48 of file Jwt.php.
◆ getJwtClient()
Get the JWT client to use for handling JWTs.
If one is not set, a default client is created.
- Returns
- ClientInterface|null The JWT client
Definition at line 69 of file Jwt.php.
References Util\logDebug().
◆ setJwtClient()
static setJwtClient |
( |
|
$jwtClient = null | ) |
|
|
static |
Set the JWT client to use for handling JWTs.
- Parameters
-
ClientInterface | null | $jwtClient | |
Definition at line 58 of file Jwt.php.
References Util\logDebug().
◆ $allowJkuHeader
bool $allowJkuHeader = false |
|
static |
Allow use of jku header in JWT.
Definition at line 36 of file Jwt.php.
◆ $leeway
Leeway (in seconds) to allow when checking timestamps (default is 3 minutes).
Definition at line 29 of file Jwt.php.
◆ $life
Life (in seconds) of an issued JWT (default is 1 minute).
Definition at line 22 of file Jwt.php.
The documentation for this class was generated from the following file: