java.lang.Object
de.stklcode.jvault.connector.model.response.embedded.AuthData
All Implemented Interfaces:
Serializable

public final class AuthData extends Object implements 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

      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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object