@PermitAll public class TokenService extends Object
| Constructor and Description |
|---|
TokenService() |
| Modifier and Type | Method and Description |
|---|---|
Token |
create(Token token) |
Token |
getByIdForDistribution(UUID id) |
Token |
getByIdForTrustedConsumers(UUID id) |
List<Token> |
getByPrincipalForDistribution(String principal) |
List<Token> |
getByPrincipalForTrustedConsumers(String principal) |
void |
revoke(UUID id) |
Token |
update(Token token) |
Token |
validate(UUID key,
String secret) |
Copyright © 2015–2016. All rights reserved.