public class JwksAuthenticator extends Object implements Authenticator
Constructor and Description |
---|
JwksAuthenticator(String url)
Build a jwks-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, wait
authenticate
public JwksAuthenticator(String url)
url
- the location of the public jwks keyspublic io.jsonwebtoken.Claims parse(String token)
Authenticator
parse
in interface Authenticator
token
- the token