Class OpenIDConnectTokenRequest
- java.lang.Object
-
- com.slack.api.methods.request.openid.connect.OpenIDConnectTokenRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class OpenIDConnectTokenRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/openid.connect.token https://api.slack.com/authentication/sign-in-with-slack
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenIDConnectTokenRequest.OpenIDConnectTokenRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpenIDConnectTokenRequest.OpenIDConnectTokenRequestBuilderbuilder()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 Detail
-
getToken
public String getToken()
- Specified by:
getTokenin interfaceSlackApiRequest
-
builder
public static OpenIDConnectTokenRequest.OpenIDConnectTokenRequestBuilder 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).
-
getGrantType
public String getGrantType()
The grant_type param as described in the OAuth spec.
-
getRefreshToken
public String getRefreshToken()
The refresh_token param as described in the OAuth spec.
-
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).
-
setGrantType
public void setGrantType(String grantType)
The grant_type param as described in the OAuth spec.
-
setRefreshToken
public void setRefreshToken(String refreshToken)
The refresh_token param as described in the OAuth spec.
-
canEqual
protected boolean canEqual(Object other)
-
-