Class OAuthV2ExchangeRequest

java.lang.Object
com.slack.api.methods.request.oauth.OAuthV2ExchangeRequest
All Implemented Interfaces:
SlackApiRequest

public class OAuthV2ExchangeRequest extends Object implements SlackApiRequest
- https://docs.slack.dev/reference/methods/oauth.v2.exchange - https://docs.slack.dev/authentication/using-token-rotation
  • Method Details

    • builder

    • getToken

      public String getToken()
      The legacy xoxb or xoxp token being migrated to use token rotation.
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getClientId

      public String getClientId()
      Issued when you created your application.
    • getClientSecret

      public String getClientSecret()
      Issued when you created your application.
    • setToken

      public void setToken(String token)
      The legacy xoxb or xoxp token being migrated to use token rotation.
      Specified by:
      setToken in interface SlackApiRequest
    • setClientId

      public void setClientId(String clientId)
      Issued when you created your application.
    • setClientSecret

      public void setClientSecret(String clientSecret)
      Issued when you created your application.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object