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
All Methods Instance Methods Concrete Methods 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
redirectUri(String redirectUri)
This must match the originally submitted URI (if one was sent).String
toString()
-
-
-
Method Detail
-
clientId
public OAuthV2AccessRequest.OAuthV2AccessRequestBuilder clientId(String clientId)
Issued when you created your application.- Returns:
this
.
-
clientSecret
public OAuthV2AccessRequest.OAuthV2AccessRequestBuilder clientSecret(String clientSecret)
Issued when you created your application.- Returns:
this
.
-
code
public OAuthV2AccessRequest.OAuthV2AccessRequestBuilder code(String code)
The `code` param returned via the OAuth callback.- Returns:
this
.
-
redirectUri
public OAuthV2AccessRequest.OAuthV2AccessRequestBuilder redirectUri(String redirectUri)
This must match the originally submitted URI (if one was sent).- Returns:
this
.
-
build
public OAuthV2AccessRequest build()
-
-