public JwtService
Interface to parse and generate JWTs
| Modifier and Type | Method and Description |
|---|---|
<T> java.lang.String |
generate()
Generates a JWT from the payload
|
<T> java.lang.String |
generate()
Generates a JWT from the payload
|
<T> java.lang.String |
generate()
Generates a JWT from the payload
|
<T> T |
parse()
Parses a JWT and return the contained bean. It throws TokenExpiredException if the token has expired.
|
<T> java.lang.String generate()
Generates a JWT from the payload
<T> java.lang.String generate()
Generates a JWT from the payload
<T> java.lang.String generate()
Generates a JWT from the payload
<T> T parse()
Parses a JWT and return the contained bean. It throws TokenExpiredException if the token has expired.