Class OAuthAccessRequest
java.lang.Object
com.slack.api.methods.request.oauth.OAuthAccessRequest
- All Implemented Interfaces:
SlackApiRequest
public class OAuthAccessRequest extends Object implements SlackApiRequest
https://api.slack.com/docs/oauth
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OAuthAccessRequest.OAuthAccessRequestBuilder
-
Method Summary
Modifier and Type Method Description static OAuthAccessRequest.OAuthAccessRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getClientId()
Issued when you created your application.String
getClientSecret()
Issued when you created your application.String
getCode()
The `code` param returned via the OAuth callback.String
getRedirectUri()
This must match the originally submitted URI (if one was sent).String
getToken()
int
hashCode()
boolean
isSingleChannel()
Request the user to add your app only to a single channel.void
setClientId(String clientId)
Issued when you created your application.void
setClientSecret(String clientSecret)
Issued when you created your application.void
setCode(String code)
The `code` param returned via the OAuth callback.void
setRedirectUri(String redirectUri)
This must match the originally submitted URI (if one was sent).void
setSingleChannel(boolean singleChannel)
Request the user to add your app only to a single channel.String
toString()
-
Method Details
-
getToken
- Specified by:
getToken
in interfaceSlackApiRequest
-
builder
-
getClientId
Issued when you created your application. -
getClientSecret
Issued when you created your application. -
getCode
The `code` param returned via the OAuth callback. -
getRedirectUri
This must match the originally submitted URI (if one was sent). -
isSingleChannel
public boolean isSingleChannel()Request the user to add your app only to a single channel. -
setClientId
Issued when you created your application. -
setClientSecret
Issued when you created your application. -
setCode
The `code` param returned via the OAuth callback. -
setRedirectUri
This must match the originally submitted URI (if one was sent). -
setSingleChannel
public void setSingleChannel(boolean singleChannel)Request the user to add your app only to a single channel. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-