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
All Methods Static Methods Instance Methods Concrete Methods 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.StringgetRedirectUri()This must match the originally submitted URI (if one was sent).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.voidsetRedirectUri(String redirectUri)This must match the originally submitted URI (if one was sent).StringtoString()
-
-
-
Method Detail
-
getToken
public String getToken()
- Specified by:
getTokenin interfaceSlackApiRequest
-
builder
public static OAuthV2AccessRequest.OAuthV2AccessRequestBuilder builder()
-
getClientId
public String getClientId()
Issued when you created your application.
-
getClientSecret
public String getClientSecret()
Issued when you created your application.
-
getCode
public String getCode()
The `code` param returned via the OAuth callback.
-
getRedirectUri
public String getRedirectUri()
This must match the originally submitted URI (if one was sent).
-
setClientId
public void setClientId(String clientId)
Issued when you created your application.
-
setClientSecret
public void setClientSecret(String clientSecret)
Issued when you created your application.
-
setCode
public void setCode(String code)
The `code` param returned via the OAuth callback.
-
setRedirectUri
public void setRedirectUri(String redirectUri)
This must match the originally submitted URI (if one was sent).
-
canEqual
protected boolean canEqual(Object other)
-
-