Module de.stklcode.jvault.connector
Class TokenResponse
java.lang.Object
de.stklcode.jvault.connector.model.response.VaultDataResponse
de.stklcode.jvault.connector.model.response.TokenResponse
- All Implemented Interfaces:
VaultResponse
Vault response from token lookup providing Token information in
TokenData
field.- Since:
- 0.1
- Author:
- Stefan Kalscheuer
-
Constructor Summary
-
Method Summary
Methods inherited from class de.stklcode.jvault.connector.model.response.VaultDataResponse
getLeaseDuration, getLeaseId, getWarnings, isRenewable
-
Constructor Details
-
TokenResponse
public TokenResponse()
-
-
Method Details
-
setData
Set data. Parses response data map toTokenData
.- Specified by:
setData
in classVaultDataResponse
- Parameters:
data
- Raw response data- Throws:
InvalidResponseException
- on parsing errors
-
getData
- Returns:
- Token data
-