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 Details

    • AuthData

      public AuthData()
  • Method Details

    • getClientToken

      public String getClientToken()
      Returns:
      Client token
    • getTokenType

      public String getTokenType()
      Returns:
      Token type
      Since:
      0.9
    • getPolicies

      public List<String> getPolicies()
      Returns:
      List of policies
    • getTokenPolicies

      public List<String> getTokenPolicies()
      Returns:
      List of policies associated with the token
      Since:
      0.9
    • getMetadata

      public Map<String,Object> getMetadata()
      Returns:
      Metadata
    • 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