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 OAuthAccessRequestbuild()OAuthAccessRequest.OAuthAccessRequestBuilderclientId(String clientId)Issued when you created your application.OAuthAccessRequest.OAuthAccessRequestBuilderclientSecret(String clientSecret)Issued when you created your application.OAuthAccessRequest.OAuthAccessRequestBuildercode(String code)The `code` param returned via the OAuth callback.OAuthAccessRequest.OAuthAccessRequestBuilderredirectUri(String redirectUri)This must match the originally submitted URI (if one was sent).OAuthAccessRequest.OAuthAccessRequestBuildersingleChannel(boolean singleChannel)Request the user to add your app only to a single channel.StringtoString()
-
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
-