Interface TokenApi
- 
@Consumes("application/json") @Path("/tokens/{token}") public interface TokenApiProvides access to the Keystone Admin API. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tokenget(String token)Validate a token and, if it is valid, return access information regarding the tenant (though not the service catalog)/UsergetUserOfToken(String token)Validate a token and, if it is valid, return access information regarding the tenant (though not the service catalog)/booleanisValid(String token)Validate a token.Set<Endpoint>listEndpointsForToken(String token)List all endpoints for a token 
 - 
 
- 
- 
Method Detail
- 
get
@Named("token:get") @GET @Nullable Token get(@PathParam("token") String token)Validate a token and, if it is valid, return access information regarding the tenant (though not the service catalog)/- Returns:
 - the requested information
 
 
- 
getUserOfToken
@Named("token:getuser") @GET @Nullable User getUserOfToken(@PathParam("token") String token)Validate a token and, if it is valid, return access information regarding the tenant (though not the service catalog)/- Returns:
 - the requested information
 
 
- 
isValid
@Named("token:valid") @HEAD boolean isValid(@PathParam("token") String token)Validate a token. This is a high-performance variant of the #getToken() call that does not return any further information.- Returns:
 - true if the token is valid
 
 
- 
listEndpointsForToken
@Named("token:listEndpoints") @GET @Path("/endpoints") Set<Endpoint> listEndpointsForToken(@PathParam("token") String token)List all endpoints for a token NOTE: currently not working in openstack ( https://bugs.launchpad.net/keystone/+bug/988672 )- Returns:
 - the set of endpoints
 
 
 - 
 
 -