Interface Token
-
- All Superinterfaces:
ModelEntity,Serializable
- All Known Implementing Classes:
KeystoneToken
public interface Token extends ModelEntity
V3 token model- See Also:
- API reference
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.common.collect.SortedSetMultimap<String,Service>getAggregatedCatalog()A Lazy loading Aggregated Service Catalog Mapping.List<String>getAuditIds()StringgetCacheIdentifier()List<? extends Service>getCatalog()AuthStoregetCredentials()DomaingetDomain()StringgetEndpoint()DategetExpires()StringgetId()DategetIssuedAt()List<String>getMethods()ProjectgetProject()List<? extends Role>getRoles()UsergetUser()AuthVersiongetVersion()voidsetId(String id)sets the id of the token from response header value
-
-
-
Method Detail
-
getId
String getId()
- Returns:
- the id of the token
-
setId
void setId(String id)
sets the id of the token from response header value- Parameters:
id- the token id
-
getExpires
Date getExpires()
- Returns:
- the timestamp when the token expires
-
getIssuedAt
Date getIssuedAt()
- Returns:
- the timestamp when the token was issued
-
getProject
Project getProject()
- Returns:
- the project of the token
-
getDomain
Domain getDomain()
- Returns:
- the domain of the token
-
getUser
User getUser()
- Returns:
- the User of the token
-
getCredentials
AuthStore getCredentials()
- Returns:
- the authentication store
-
getEndpoint
String getEndpoint()
- Returns:
- the endpoint
-
getVersion
AuthVersion getVersion()
- Returns:
- the authentication version
-
getCacheIdentifier
String getCacheIdentifier()
- Returns:
- the internal UUID used for cache lookups
-
-