You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @lcobucci , I am using the following code snipped and I receive true or false, thats good, but is it possible to receive a message, why the token is invalide? For example : jwt - nbf - timestamp of nbf is not reached or jwt - exp - token has expired.
$validationData = new ValidationData();
$jwtDec = (new Parser())->parse((string) $jwt);
return $jwtDec->validate($validationData );
The text was updated successfully, but these errors were encountered:
Hello @lcobucci , I am using the following code snipped and I receive
true
orfalse,
thats good, but is it possible to receive a message, why the token is invalide? For example :jwt - nbf - timestamp of nbf is not reached
orjwt - exp - token has expired
.The text was updated successfully, but these errors were encountered: