Class to represent an HTTP message request.
More...
|
| __construct () |
| Class constructor.
|
|
|
static int | $life = 60 |
| Life (in seconds) of an issued JWT (default is 1 minute).
|
|
static int | $leeway = 180 |
| Leeway (in seconds) to allow when checking timestamps (default is 3 minutes).
|
|
static bool | $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
◆ 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
◆ setJwtClient()
Set the JWT client to use for handling JWTs.
- Parameters
-
ClientInterface | null | $jwtClient | |
◆ $allowJkuHeader
bool $allowJkuHeader = false |
|
static |
Allow use of jku header in JWT.
$allowJkuHeader
◆ $leeway
Leeway (in seconds) to allow when checking timestamps (default is 3 minutes).
$leeway
◆ $life
Life (in seconds) of an issued JWT (default is 1 minute).
$life