public class KeystoneToken extends Object implements Token
Constructor and Description |
---|
KeystoneToken() |
Modifier and Type | Method and Description |
---|---|
KeystoneToken |
applyContext(String endpoint,
AuthStore credentials) |
KeystoneToken |
applyContext(String endpoint,
KeystoneAuth credentials) |
KeystoneToken |
applyContext(String endpoint,
TokenAuth token) |
com.google.common.collect.SortedSetMultimap<String,Service> |
getAggregatedCatalog()
A Lazy loading Aggregated Service Catalog Mapping.
|
List<String> |
getAuditIds() |
String |
getCacheIdentifier() |
List<? extends KeystoneService> |
getCatalog() |
KeystoneAuth |
getCredentials() |
KeystoneDomain |
getDomain() |
String |
getEndpoint() |
Date |
getExpires() |
String |
getId() |
Date |
getIssuedAt() |
List<String> |
getMethods() |
KeystoneProject |
getProject() |
List<? extends KeystoneRole> |
getRoles() |
KeystoneUser |
getUser() |
AuthVersion |
getVersion() |
void |
setEndpoint(String endpoint) |
void |
setId(String id)
sets the id of the token from response header value
|
String |
toString() |
public void setId(String id)
Token
public Date getExpires()
getExpires
in interface Token
public AuthVersion getVersion()
getVersion
in interface Token
public Date getIssuedAt()
getIssuedAt
in interface Token
public List<String> getAuditIds()
getAuditIds
in interface Token
public List<String> getMethods()
getMethods
in interface Token
public List<? extends KeystoneService> getCatalog()
getCatalog
in interface Token
public KeystoneProject getProject()
getProject
in interface Token
public KeystoneDomain getDomain()
public KeystoneUser getUser()
public List<? extends KeystoneRole> getRoles()
public KeystoneAuth getCredentials()
getCredentials
in interface Token
public String getEndpoint()
getEndpoint
in interface Token
public void setEndpoint(String endpoint)
public KeystoneToken applyContext(String endpoint, KeystoneAuth credentials)
public KeystoneToken applyContext(String endpoint, TokenAuth token)
public KeystoneToken applyContext(String endpoint, AuthStore credentials)
public com.google.common.collect.SortedSetMultimap<String,Service> getAggregatedCatalog()
getAggregatedCatalog
in interface Token
public String getCacheIdentifier()
getCacheIdentifier
in interface Token
Copyright © 2017. All rights reserved.