Class AuthData
- java.lang.Object
-
- de.stklcode.jvault.connector.model.response.embedded.AuthData
-
public final class AuthData extends Object
Embedded authorization information inside Vault response.- Since:
- 0.1
- Author:
- Stefan Kalscheuer
-
-
Constructor Summary
Constructors Constructor Description AuthData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccessor()
String
getClientToken()
String
getEntityId()
Integer
getLeaseDuration()
Map<String,Object>
getMetadata()
List<String>
getPolicies()
List<String>
getTokenPolicies()
String
getTokenType()
boolean
isOrphan()
boolean
isRenewable()
-
-
-
Method Detail
-
getClientToken
public String getClientToken()
- Returns:
- Client token
-
getTokenType
public String getTokenType()
- Returns:
- Token type
- Since:
- 0.9
-
getTokenPolicies
public List<String> getTokenPolicies()
- Returns:
- List of policies associated with the token
- Since:
- 0.9
-
getLeaseDuration
public Integer getLeaseDuration()
- Returns:
- Lease duration
-
isRenewable
public boolean isRenewable()
- Returns:
- Lease is renewable
-
getEntityId
public String getEntityId()
- Returns:
- Entity ID
- Since:
- 0.9
-
getAccessor
public String getAccessor()
- Returns:
- Token accessor
-
isOrphan
public boolean isOrphan()
- Returns:
- Token is orphan
- Since:
- 0.9
-
-