Check the token's claims using a custom method that receives the
{@Link JWTPayload} and should return true if the token is valid. Raises
a 401 invalid_token error if the function returns false. You can also
customise the error_description which should be formatted per rfc6750.
Check the token's claims using a custom method that receives the {@Link JWTPayload} and should return
trueif the token is valid. Raises a 401invalid_tokenerror if the function returns false. You can also customise theerror_descriptionwhich should be formatted per rfc6750.