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 classOAuthV2AccessRequest.OAuthV2AccessRequestBuilder -
Method Summary
Modifier and Type Method Description static OAuthV2AccessRequest.OAuthV2AccessRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetClientId()Issued when you created your application.StringgetClientSecret()Issued when you created your application.StringgetCode()The `code` param returned via the OAuth callback.StringgetGrantType()The grant_type param as described in the OAuth spec.StringgetRedirectUri()This must match the originally submitted URI (if one was sent).StringgetRefreshToken()The refresh_token param as described in the OAuth spec.StringgetToken()inthashCode()voidsetClientId(String clientId)Issued when you created your application.voidsetClientSecret(String clientSecret)Issued when you created your application.voidsetCode(String code)The `code` param returned via the OAuth callback.voidsetGrantType(String grantType)The grant_type param as described in the OAuth spec.voidsetRedirectUri(String redirectUri)This must match the originally submitted URI (if one was sent).voidsetRefreshToken(String refreshToken)The refresh_token param as described in the OAuth spec.StringtoString()
-
Method Details
-
getToken
- Specified by:
getTokenin 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
-