public interface UiTokenService
Modifier and Type | Method and Description |
---|---|
UiSessionToken |
issueToken(java.lang.String username)
Issues a session token.
|
boolean |
isTokenValid(UiSessionToken token)
Returns true if the specified token is currently in the distributed
map of valid UI session tokens.
|
void |
revokeToken(UiSessionToken token)
Revokes the specified session token.
|
UiSessionToken issueToken(java.lang.String username)
username
- the username to be associated with the token.void revokeToken(UiSessionToken token)
token
- the token to be revokedboolean isTokenValid(UiSessionToken token)
token
- the token to check