Module de.stklcode.jvault.connector
Class TokenData
java.lang.Object
de.stklcode.jvault.connector.model.response.embedded.TokenData
- All Implemented Interfaces:
 Serializable
Embedded token information inside Vault response.
- Since:
 - 0.1, 1.1 implements 
Serializable - Author:
 - Stefan Kalscheuer
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.Method left for backwards compatibility only.getId()Deprecated, for removal: This API element is subject to removal in a future version.Method left for backwards compatibility only.getMeta()getName()getPath()getTtl()getType()inthashCode()booleanisOrphan()boolean 
- 
Constructor Details
- 
TokenData
public TokenData() 
 - 
 - 
Method Details
- 
getAccessor
- Returns:
 - Token accessor
 
 - 
getCreationTime
- Returns:
 - Creation time
 
 - 
getCreationTtl
- Returns:
 - Creation TTL (in seconds)
 
 - 
getName
- Returns:
 - Token name
 
 - 
getEntityId
- Returns:
 - Entity ID
 - Since:
 - 0.9
 
 - 
getExpireTimeString
Deprecated, for removal: This API element is subject to removal in a future version.Method left for backwards compatibility only. UsegetExpireTime()instead.- Returns:
 - Expire time as raw string value
 - Since:
 - 0.9
 
 - 
getExpireTime
- Returns:
 - Expire time (parsed)
 - Since:
 - 0.9
 
 - 
getExplicitMaxTtl
- Returns:
 - Explicit maximum TTL
 - Since:
 - 0.9
 
 - 
getId
- Returns:
 - Token ID
 
 - 
getIssueTimeString
Deprecated, for removal: This API element is subject to removal in a future version.Method left for backwards compatibility only. UsegetIssueTime()instead.- Returns:
 - Issue time as raw string value
 - Since:
 - 0.9
 
 - 
getIssueTime
- Returns:
 - Expire time (parsed)
 - Since:
 - 0.9
 
 - 
getType
- Returns:
 - Token type
 - Since:
 - 0.9
 
 - 
getNumUses
- Returns:
 - Number of uses
 
 - 
isOrphan
public boolean isOrphan()- Returns:
 - Token is orphan
 
 - 
getPath
- Returns:
 - Token path
 
 - 
getPolicies
- Returns:
 - Token policies
 - Since:
 - 0.9
 
 - 
isRenewable
public boolean isRenewable()- Returns:
 - Token is renewable
 - Since:
 - 0.9
 
 - 
getTtl
- Returns:
 - Token TTL (in seconds)
 
 - 
getMeta
- Returns:
 - Metadata
 
 - 
equals
 - 
hashCode
public int hashCode() 
 -