public class KeystoneTokenV3 extends Object implements TokenV3
| Modifier and Type | Class and Description |
|---|---|
static class |
KeystoneTokenV3.KeystoneDomainV3 |
static class |
KeystoneTokenV3.KeystoneProjectV3 |
static class |
KeystoneTokenV3.KeystoneRoleV3 |
static class |
KeystoneTokenV3.KeystoneUserV3 |
TokenV3.DomainV3, TokenV3.ProjectV3, TokenV3.RoleV3, TokenV3.UserV3| Constructor and Description |
|---|
KeystoneTokenV3() |
| Modifier and Type | Method and Description |
|---|---|
KeystoneTokenV3 |
applyContext(String endpoint,
KeystoneAuth credentials) |
List<? extends Catalog> |
getCatalog() |
KeystoneAuth |
getCredentials() |
String |
getEndpoint() |
Date |
getExpires()
The expiring date/time of this token
|
String |
getId()
The generated token ID created by the Identity Restful service
|
Date |
getIssuedAt() |
List<String> |
getMethods() |
TokenV3.ProjectV3 |
getProject() |
List<? extends TokenV3.RoleV3> |
getRoles() |
TokenV3.UserV3 |
getUser() |
AuthVersion |
getVersion() |
String |
toString() |
public String id
public String getId()
Tokenpublic Date getExpires()
TokengetExpires in interface Tokenpublic AuthVersion getVersion()
getVersion in interface Tokenpublic Date getIssuedAt()
getIssuedAt in interface TokenV3public List<String> getMethods()
getMethods in interface TokenV3public List<? extends Catalog> getCatalog()
getCatalog in interface TokenV3public TokenV3.ProjectV3 getProject()
getProject in interface TokenV3public TokenV3.UserV3 getUser()
public List<? extends TokenV3.RoleV3> getRoles()
public KeystoneAuth getCredentials()
public String getEndpoint()
public KeystoneTokenV3 applyContext(String endpoint, KeystoneAuth credentials)