Class OAuthV2ExchangeRequest

  • All Implemented Interfaces:
    SlackApiRequest

    public class OAuthV2ExchangeRequest
    extends Object
    implements SlackApiRequest
    - https://api.slack.com/methods/oauth.v2.exchange - https://api.slack.com/authentication/rotation
    • Method Detail

      • 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.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object