Class OAuthTokenRequest.OAuthTokenRequestBuilder
java.lang.Object
com.slack.api.methods.request.oauth.OAuthTokenRequest.OAuthTokenRequestBuilder
- Enclosing class:
- OAuthTokenRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Issued when you created your application.clientSecret(String clientSecret) Issued when you created your application.The `code` param returned via the OAuth callback.redirectUri(String redirectUri) This must match the originally submitted URI (if one was sent).singleChannel(boolean singleChannel) Request the user to add your app only to a single channel.toString()
-
Method Details
-
clientId
Issued when you created your application.- Returns:
this.
-
clientSecret
Issued when you created your application.- Returns:
this.
-
code
The `code` param returned via the OAuth callback.- Returns:
this.
-
redirectUri
This must match the originally submitted URI (if one was sent).- Returns:
this.
-
singleChannel
Request the user to add your app only to a single channel.- Returns:
this.
-
build
-
toString
-