public class JwtAuthenticator extends Object implements Authenticator
| Constructor and Description |
|---|
JwtAuthenticator(Key key)
Create a JWT-based authenticator.
|
| Modifier and Type | Method and Description |
|---|---|
io.jsonwebtoken.Claims |
parse(String token)
Parse a token into a set of claims.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticatepublic JwtAuthenticator(Key key)
key - a keypublic io.jsonwebtoken.Claims parse(String token)
Authenticatorparse in interface Authenticatortoken - the token