Level51\JWTUtils\JWTUtils::renew
Checks if the given token is valid and needs to be renewed
Signature
public function renew(string
$token )
Parameters
$token
— string- The decoded token to renew
Returns
- string
- The renewed decoded token
Errors/Exceptions
-
JWTUtilsException
- Provided JWT was: simply invalid, invalid because the signature verification failed, since expired, as defined by the 'exp' claim
Line | Task |
---|---|
159 | Check if script reaches this point if exp claim is in past |