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 OAuthV2AccessRequestbuild()OAuthV2AccessRequest.OAuthV2AccessRequestBuilderclientId(String clientId)Issued when you created your application.OAuthV2AccessRequest.OAuthV2AccessRequestBuilderclientSecret(String clientSecret)Issued when you created your application.OAuthV2AccessRequest.OAuthV2AccessRequestBuildercode(String code)The `code` param returned via the OAuth callback.OAuthV2AccessRequest.OAuthV2AccessRequestBuildergrantType(String grantType)The grant_type param as described in the OAuth spec.OAuthV2AccessRequest.OAuthV2AccessRequestBuilderredirectUri(String redirectUri)This must match the originally submitted URI (if one was sent).OAuthV2AccessRequest.OAuthV2AccessRequestBuilderrefreshToken(String refreshToken)The refresh_token param as described in the OAuth spec.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.
-
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
-