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 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
-
getExpireTime
- Returns:
- Expire time (parsed)
- Since:
- 0.9
-
getExplicitMaxTtl
- Returns:
- Explicit maximum TTL
- Since:
- 0.9
-
getId
- Returns:
- Token ID
-
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()
-