public interface TokenService extends RestService
Modifier and Type | Method and Description |
---|---|
ActionResponse |
check(String tokenId)
Validates a token.
|
ActionResponse |
delete(String tokenId)
Revokes a token.
|
Token |
get(String tokenId)
Validates and shows information for a token.
|
List<? extends Domain> |
getDomainScopes(String tokenId)
Get available domain scopes for specified token
|
List<? extends Project> |
getProjectScopes(String tokenId)
Get available project scopes for specified token
|
List<? extends Service> |
getServiceCatalog(String tokenId)
Get service catalog for specified token
|
Token get(String tokenId)
tokenId
- the identifier of the token that is subject to be checkedActionResponse check(String tokenId)
tokenId
- the identifier of the token that is subject to be checkedActionResponse delete(String tokenId)
tokenId
- the identifier of the token that is going to be deletedList<? extends Service> getServiceCatalog(String tokenId)
tokenId
- the identifier of the token, of which the catalog of services is requestedList<? extends Project> getProjectScopes(String tokenId)
tokenId
- the identifier of the token in questionCopyright © 2017. All rights reserved.