public interface TokenApi
Modifier and Type | Method and Description |
---|---|
Token |
get(String token)
Validate a token and, if it is valid, return access information regarding the tenant (though not the service catalog)/
|
User |
getUserOfToken(String token)
Validate a token and, if it is valid, return access information regarding the tenant (though not the service catalog)/
|
boolean |
isValid(String token)
Validate a token.
|
Set<Endpoint> |
listEndpointsForToken(String token)
List all endpoints for a token
NOTE: currently not working in openstack ( https://bugs.launchpad.net/keystone/+bug/988672 )
|
@Named(value="token:get") @Nullable Token get(String token)
@Named(value="token:getuser") @Nullable User getUserOfToken(String token)
@Named(value="token:valid") boolean isValid(String token)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.