-
Notifications
You must be signed in to change notification settings - Fork 0
1.2.4 JWTReceiver
Anders Mikkelsen edited this page Dec 21, 2017
·
2 revisions
This class is used for handling incoming JWT's.
The default handler expects an Authorization class as base64 encoded JSON in a custom header. The default is:
X-Authorization-Type
public void handle(RoutingContext routingContext) { ... }
It can also be used to revoke tokens:
The token should be in the Authorization Header, just as a normal request. This will also revoke the refresh token.
public void revoke(RoutingContext routingContext) { ... }