Class OAuthV2AccessRequest
java.lang.Object
com.slack.api.methods.request.oauth.OAuthV2AccessRequest
- All Implemented Interfaces:
SlackApiRequest
public class OAuthV2AccessRequest extends Object implements SlackApiRequest
https://api.slack.com/authentication/basics
https://api.slack.com/methods/oauth.v2.access
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OAuthV2AccessRequest.OAuthV2AccessRequestBuilder
-
Method Summary
Modifier and Type Method Description static OAuthV2AccessRequest.OAuthV2AccessRequestBuilder
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
getGrantType()
The grant_type param as described in the OAuth spec.String
getRedirectUri()
This must match the originally submitted URI (if one was sent).String
getRefreshToken()
The refresh_token param as described in the OAuth spec.String
getToken()
int
hashCode()
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
setGrantType(String grantType)
The grant_type param as described in the OAuth spec.void
setRedirectUri(String redirectUri)
This must match the originally submitted URI (if one was sent).void
setRefreshToken(String refreshToken)
The refresh_token param as described in the OAuth spec.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). -
getGrantType
The grant_type param as described in the OAuth spec. -
getRefreshToken
The refresh_token param as described in the OAuth spec. -
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). -
setGrantType
The grant_type param as described in the OAuth spec. -
setRefreshToken
The refresh_token param as described in the OAuth spec. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-