public class KeystoneAccess extends Object implements Access
| Modifier and Type | Class and Description |
|---|---|
static class |
KeystoneAccess.AccessService |
static class |
KeystoneAccess.AccessUser |
static class |
KeystoneAccess.AccessUsers |
Access.Service, Access.UserDetails| Constructor and Description |
|---|
KeystoneAccess() |
| Modifier and Type | Method and Description |
|---|---|
KeystoneAccess |
applyContext(String endpoint,
AuthStore credentials) |
String |
getCacheIdentifier() |
AuthStore |
getCredentials() |
String |
getEndpoint() |
List<? extends Access.Service> |
getServiceCatalog() |
TokenV2 |
getToken() |
Access.UserDetails |
getUser() |
AuthVersion |
getVersion() |
void |
setEndpoint(String endpoint)
ONLY used for unit tests
|
String |
toString() |
<T> T |
unwrap()
If Access is being wrapped such as in V3 then this will return the underlying wrapped instance.
|
public List<? extends Access.Service> getServiceCatalog()
getServiceCatalog in interface Accesspublic Access.UserDetails getUser()
public String getEndpoint()
getEndpoint in interface Accesspublic void setEndpoint(String endpoint)
endpoint - public AuthStore getCredentials()
public KeystoneAccess applyContext(String endpoint, AuthStore credentials)
public AuthVersion getVersion()
getVersion in interface Accesspublic <T> T unwrap()
Accesspublic String getCacheIdentifier()
getCacheIdentifier in interface Access