Class OAuthAccessRequest.OAuthAccessRequestBuilder
java.lang.Object
com.slack.api.methods.request.oauth.OAuthAccessRequest.OAuthAccessRequestBuilder
- Enclosing class:
- OAuthAccessRequest
public static class OAuthAccessRequest.OAuthAccessRequestBuilder extends Object
-
Method Summary
Modifier and Type Method Description OAuthAccessRequest
build()
OAuthAccessRequest.OAuthAccessRequestBuilder
clientId(String clientId)
Issued when you created your application.OAuthAccessRequest.OAuthAccessRequestBuilder
clientSecret(String clientSecret)
Issued when you created your application.OAuthAccessRequest.OAuthAccessRequestBuilder
code(String code)
The `code` param returned via the OAuth callback.OAuthAccessRequest.OAuthAccessRequestBuilder
redirectUri(String redirectUri)
This must match the originally submitted URI (if one was sent).OAuthAccessRequest.OAuthAccessRequestBuilder
singleChannel(boolean singleChannel)
Request the user to add your app only to a single channel.String
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
-