v0.9.0
Type Less, Type Less
Removed the Status
generic type from PermissionsMiddleware
because we can get that type information from the Payload
generic type.
We also create a static String.payloadKey
value so the key where the JWT payload is stored is type safe.
In the JWTVerificationMiddleware
, if an Authorization
header is not found, status code 402 (Unauthorized) is returned instead of 400 (Bad Request).