public class NullAuthenticator extends Object implements Authenticator
Constructor and Description |
---|
NullAuthenticator() |
Modifier and Type | Method and Description |
---|---|
Principal |
authenticate(String credentials)
Authenticate credentials.
|
io.jsonwebtoken.Claims |
parse(String credentials)
Parse a token into a set of claims.
|
public io.jsonwebtoken.Claims parse(String credentials)
Authenticator
parse
in interface Authenticator
credentials
- the tokenpublic Principal authenticate(String credentials)
Authenticator
authenticate
in interface Authenticator
credentials
- the token