| Package | Description |
|---|---|
| org.apache.knox.gateway.services.security.token |
| Modifier and Type | Method and Description |
|---|---|
static TokenMetadata |
TokenMetadata.fromJSON(String json) |
TokenMetadata |
KnoxToken.getMetadata() |
TokenMetadata |
TokenStateService.getTokenMetadata(String tokenId) |
| Modifier and Type | Method and Description |
|---|---|
void |
TokenStateService.addMetadata(String tokenId,
TokenMetadata metadata)
Adds metadata to the token identified by the given ID
|
void |
KnoxToken.setMetadata(TokenMetadata metadata) |
| Constructor and Description |
|---|
KnoxToken(String tokenId,
long issueTime,
long expiration,
long maxLifetime,
TokenMetadata metadata) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.