Class OAuthV2AccessRequest
java.lang.Object
com.slack.api.methods.request.oauth.OAuthV2AccessRequest
- All Implemented Interfaces:
SlackApiRequest
- https://docs.slack.dev/reference/methods/oauth.v2.access
- https://docs.slack.dev/authentication
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanIssued when you created your application.Issued when you created your application.getCode()The `code` param returned via the OAuth callback.The grant_type param as described in the OAuth spec.This must match the originally submitted URI (if one was sent).The refresh_token param as described in the OAuth spec.getToken()Returns a token in this request object.inthashCode()voidsetClientId(String clientId) Issued when you created your application.voidsetClientSecret(String clientSecret) Issued when you created your application.voidThe `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.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.slack.api.methods.SlackApiRequest
setToken
-
Method Details
-
getToken
Description copied from interface:SlackApiRequestReturns a token in this request object. If the API endpoint does not require a token (e.g., api.test), this method can return null.- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
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
-