public interface ITokenService
| Modifier and Type | Field and Description |
|---|---|
static String |
MBEAN_NAME
MBean name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
generateToken(Map<String,String> attributes)
Create a new token associated with attributes
|
Map<String,String> |
validateToken(String tokenKey)
Validate (and remove) the token
|
Map<String,String> |
validateToken(String tokenKey,
boolean renew)
Validate the token
|
static final String MBEAN_NAME
String generateToken(Map<String,String> attributes)
attributes - Map<String,String> validateToken(String tokenKey, boolean renew)
tokenKey - renew - Copyright © 2020. All rights reserved.