Class to represent an HTTP message request.
More...
|
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
◆ __construct()
ceLTIc\LTI\Jwt\Jwt::__construct |
( |
| ) |
|
◆ 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()
static void ceLTIc\LTI\Jwt\Jwt::setJwtClient |
( |
?ClientInterface | $jwtClient = null | ) |
|
|
static |
Set the JWT client to use for handling JWTs.
- Parameters
-
ClientInterface | null | $jwtClient | |
◆ $allowJkuHeader
bool ceLTIc\LTI\Jwt\Jwt::$allowJkuHeader = false |
|
static |
◆ $leeway
int ceLTIc\LTI\Jwt\Jwt::$leeway = 180 |
|
static |
◆ $life
int ceLTIc\LTI\Jwt\Jwt::$life = 60 |
|
static |
Life (in seconds) of an issued JWT (default is 1 minute).
$life