Class OpenIDConnectTokenRequest
java.lang.Object
com.slack.api.methods.request.openid.connect.OpenIDConnectTokenRequest
- All Implemented Interfaces:
SlackApiRequest
public class OpenIDConnectTokenRequest extends java.lang.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
Modifier and Type Method Description static OpenIDConnectTokenRequest.OpenIDConnectTokenRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetClientId()Issued when you created your application.java.lang.StringgetClientSecret()Issued when you created your application.java.lang.StringgetCode()The `code` param returned via the OAuth callback.java.lang.StringgetGrantType()The grant_type param as described in the OAuth spec.java.lang.StringgetRedirectUri()This must match the originally submitted URI (if one was sent).java.lang.StringgetRefreshToken()The refresh_token param as described in the OAuth spec.java.lang.StringgetToken()inthashCode()voidsetClientId(java.lang.String clientId)Issued when you created your application.voidsetClientSecret(java.lang.String clientSecret)Issued when you created your application.voidsetCode(java.lang.String code)The `code` param returned via the OAuth callback.voidsetGrantType(java.lang.String grantType)The grant_type param as described in the OAuth spec.voidsetRedirectUri(java.lang.String redirectUri)This must match the originally submitted URI (if one was sent).voidsetRefreshToken(java.lang.String refreshToken)The refresh_token param as described in the OAuth spec.java.lang.StringtoString()
-
Method Details
-
getToken
public java.lang.String getToken()- Specified by:
getTokenin interfaceSlackApiRequest
-
builder
-
getClientId
public java.lang.String getClientId()Issued when you created your application. -
getClientSecret
public java.lang.String getClientSecret()Issued when you created your application. -
getCode
public java.lang.String getCode()The `code` param returned via the OAuth callback. -
getRedirectUri
public java.lang.String getRedirectUri()This must match the originally submitted URI (if one was sent). -
getGrantType
public java.lang.String getGrantType()The grant_type param as described in the OAuth spec. -
getRefreshToken
public java.lang.String getRefreshToken()The refresh_token param as described in the OAuth spec. -
setClientId
public void setClientId(java.lang.String clientId)Issued when you created your application. -
setClientSecret
public void setClientSecret(java.lang.String clientSecret)Issued when you created your application. -
setCode
public void setCode(java.lang.String code)The `code` param returned via the OAuth callback. -
setRedirectUri
public void setRedirectUri(java.lang.String redirectUri)This must match the originally submitted URI (if one was sent). -
setGrantType
public void setGrantType(java.lang.String grantType)The grant_type param as described in the OAuth spec. -
setRefreshToken
public void setRefreshToken(java.lang.String refreshToken)The refresh_token param as described in the OAuth spec. -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-