| Package | Description |
|---|---|
| org.apache.knox.gateway.services.security.token | |
| org.apache.knox.gateway.services.security.token.impl |
| Modifier and Type | Method and Description |
|---|---|
void |
TokenStateService.addToken(JWTToken token,
long issueTime)
Add state for the specified token.
|
boolean |
TokenStateService.isExpired(JWTToken token)
Checks if the token is expired.
|
long |
TokenStateService.renewToken(JWTToken token)
Extend the lifetime of the specified token by the default amount of time.
|
long |
TokenStateService.renewToken(JWTToken token,
long renewInterval)
Extend the lifetime of the specified token by the specified amount of time.
|
void |
TokenStateService.revokeToken(JWTToken token)
Disable any subsequent use of the specified token.
|
| Modifier and Type | Method and Description |
|---|---|
static JWTToken |
JWTToken.parseToken(String wireToken) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.