public class TokenServiceImpl extends BaseOpenStackService implements TokenService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
TokenServiceImpl() |
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
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public Token get(String tokenId)
TokenService
get
in interface TokenService
tokenId
- the identifier of the token that is subject to be checkedpublic ActionResponse check(String tokenId)
TokenService
check
in interface TokenService
tokenId
- the identifier of the token that is subject to be checkedpublic ActionResponse delete(String tokenId)
TokenService
delete
in interface TokenService
tokenId
- the identifier of the token that is going to be deletedpublic List<? extends Service> getServiceCatalog(String tokenId)
TokenService
getServiceCatalog
in interface TokenService
tokenId
- the identifier of the token, of which the catalog of services is requestedpublic List<? extends Project> getProjectScopes(String tokenId)
TokenService
getProjectScopes
in interface TokenService
tokenId
- the identifier of the token in questionpublic List<? extends Domain> getDomainScopes(String tokenId)
TokenService
getDomainScopes
in interface TokenService
tokenId
- the identifier of the token in questionCopyright © 2017. All rights reserved.