Class OAuthV2AccessRequest.OAuthV2AccessRequestBuilder
java.lang.Object
com.slack.api.methods.request.oauth.OAuthV2AccessRequest.OAuthV2AccessRequestBuilder
- Enclosing class:
- OAuthV2AccessRequest
public static class OAuthV2AccessRequest.OAuthV2AccessRequestBuilder extends Object
-
Method Summary
Modifier and Type Method Description OAuthV2AccessRequest
build()
OAuthV2AccessRequest.OAuthV2AccessRequestBuilder
clientId(String clientId)
Issued when you created your application.OAuthV2AccessRequest.OAuthV2AccessRequestBuilder
clientSecret(String clientSecret)
Issued when you created your application.OAuthV2AccessRequest.OAuthV2AccessRequestBuilder
code(String code)
The `code` param returned via the OAuth callback.OAuthV2AccessRequest.OAuthV2AccessRequestBuilder
grantType(String grantType)
The grant_type param as described in the OAuth spec.OAuthV2AccessRequest.OAuthV2AccessRequestBuilder
redirectUri(String redirectUri)
This must match the originally submitted URI (if one was sent).OAuthV2AccessRequest.OAuthV2AccessRequestBuilder
refreshToken(String refreshToken)
The refresh_token param as described in the OAuth spec.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
.
-
grantType
The grant_type param as described in the OAuth spec.- Returns:
this
.
-
refreshToken
The refresh_token param as described in the OAuth spec.- Returns:
this
.
-
build
-
toString
-