java.lang.Object
io.github.jopenlibs.vault.response.VaultResponse
io.github.jopenlibs.vault.response.LookupResponse
- All Implemented Interfaces:
Serializable
This class is a container for the information returned by Vault in lookup operations on auth
backends.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLookupResponse(RestResponse restResponse, int retries) This constructor simply exposes the common base class constructor. -
Method Summary
Methods inherited from class io.github.jopenlibs.vault.response.VaultResponse
getRestResponse, getRetries
-
Constructor Details
-
LookupResponse
This constructor simply exposes the common base class constructor.- Parameters:
restResponse- The raw HTTP response from Vault.retries- The number of retry attempts that occurred during the API call (can be zero).
-
-
Method Details
-
getAccessor
-
getCreationTime
public long getCreationTime() -
getCreationTTL
public long getCreationTTL() -
getDisplayName
-
getExplicitMaxTTL
public long getExplicitMaxTTL() -
getId
-
getLastRenewalTime
-
getNumUses
public int getNumUses() -
isOrphan
public boolean isOrphan() -
getPath
-
getPolicies
-
isRenewable
public boolean isRenewable() -
getTTL
public long getTTL() -
getUsername
-