Module de.stklcode.jvault.connector
Class AuthData
java.lang.Object
de.stklcode.jvault.connector.model.response.embedded.AuthData
- All Implemented Interfaces:
Serializable
Embedded authorization information inside Vault response.
- Since:
- 0.1, 1.1 implements
Serializable
- Author:
- Stefan Kalscheuer
- See Also:
-
Constructor Details
-
AuthData
public AuthData()
-
-
Method Details
-
getClientToken
- Returns:
- Client token
-
getTokenType
- Returns:
- Token type
- Since:
- 0.9
-
getPolicies
- Returns:
- List of policies
-
getTokenPolicies
- Returns:
- List of policies associated with the token
- Since:
- 0.9
-
getMetadata
- Returns:
- Metadata
-
getLeaseDuration
- Returns:
- Lease duration
-
isRenewable
public boolean isRenewable()- Returns:
- Lease is renewable
-
getEntityId
- Returns:
- Entity ID
- Since:
- 0.9
-
getAccessor
- Returns:
- Token accessor
-
isOrphan
public boolean isOrphan()- Returns:
- Token is orphan
- Since:
- 0.9
-
getMfaRequirement
- Returns:
- multi-factor requirement
- Since:
- 1.2
-
equals
-
hashCode
public int hashCode()
-