Class EscalationTokenManager

java.lang.Object
com.atlan.auth.TokenManager
com.atlan.auth.EscalationTokenManager

public class EscalationTokenManager extends TokenManager
Manage tokenless escalation (only possible in-tenant with appropriate config).
  • Constructor Details

    • EscalationTokenManager

      public EscalationTokenManager()
  • Method Details

    • getAuthHeader

      protected String getAuthHeader()
      Retrieve the header to use for Authorization using this token.
      Specified by:
      getAuthHeader in class TokenManager
      Returns:
      the value for the Authorization header
    • refreshToken

      protected boolean refreshToken(AtlanClient client) throws AtlanException
      Refresh the API token.
      Specified by:
      refreshToken in class TokenManager
      Parameters:
      client - through which to refresh the token
      Returns:
      true iff the refresh was successful
      Throws:
      AtlanException - on any API communication issue