Class OAuthV2ExchangeRequest
- java.lang.Object
-
- com.slack.api.methods.request.oauth.OAuthV2ExchangeRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class OAuthV2ExchangeRequest extends Object implements SlackApiRequest
- https://api.slack.com/methods/oauth.v2.exchange - https://api.slack.com/authentication/rotation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OAuthV2ExchangeRequest.OAuthV2ExchangeRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OAuthV2ExchangeRequest.OAuthV2ExchangeRequestBuilder
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
getToken()
The legacy xoxb or xoxp token being migrated to use token rotation.int
hashCode()
void
setClientId(String clientId)
Issued when you created your application.void
setClientSecret(String clientSecret)
Issued when you created your application.void
setToken(String token)
The legacy xoxb or xoxp token being migrated to use token rotation.String
toString()
-
-
-
Method Detail
-
builder
public static OAuthV2ExchangeRequest.OAuthV2ExchangeRequestBuilder builder()
-
getToken
public String getToken()
The legacy xoxb or xoxp token being migrated to use token rotation.- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
getClientId
public String getClientId()
Issued when you created your application.
-
getClientSecret
public String getClientSecret()
Issued when you created your application.
-
setToken
public void setToken(String token)
The legacy xoxb or xoxp token being migrated to use token rotation.- Specified by:
setToken
in interfaceSlackApiRequest
-
setClientId
public void setClientId(String clientId)
Issued when you created your application.
-
setClientSecret
public void setClientSecret(String clientSecret)
Issued when you created your application.
-
canEqual
protected boolean canEqual(Object other)
-
-