java.lang.Object
io.github.jopenlibs.vault.response.VaultResponse
io.github.jopenlibs.vault.response.AuthResponse
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnwrapResponse
This class is a container for the information returned by Vault in auth backend operations.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAuthResponse(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
-
Field Details
-
jsonResponse
-
-
Constructor Details
-
AuthResponse
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
-
getUsername
-
getRenewable
-
getAuthClientToken
-
getAuthPolicies
-
getAuthLeaseDuration
public long getAuthLeaseDuration() -
isAuthRenewable
public boolean isAuthRenewable() -
getAppId
-
getUserId
-
getNonce
-
getTokenAccessor
-