Class OAuthTokenResponse
- java.lang.Object
-
- com.salesforce.datacloud.jdbc.auth.model.OAuthTokenResponse
-
- All Implemented Interfaces:
AuthenticationResponseWithError
public class OAuthTokenResponse extends Object implements AuthenticationResponseWithError
The shape of this response can be found here under the heading "Salesforce Grants a New Access Token"
-
-
Constructor Summary
Constructors Constructor Description OAuthTokenResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetErrorCode()StringgetErrorDescription()StringgetInstanceUrl()StringgetIssuedAt()StringgetScope()StringgetToken()StringgetTokenType()inthashCode()voidsetErrorCode(String errorCode)voidsetErrorDescription(String errorDescription)voidsetInstanceUrl(String instanceUrl)voidsetIssuedAt(String issuedAt)voidsetScope(String scope)voidsetToken(String token)voidsetTokenType(String tokenType)StringtoString()
-
-
-
Method Detail
-
getScope
public String getScope()
-
getToken
public String getToken()
- Specified by:
getTokenin interfaceAuthenticationResponseWithError
-
getInstanceUrl
public String getInstanceUrl()
-
getTokenType
public String getTokenType()
-
getIssuedAt
public String getIssuedAt()
-
getErrorCode
public String getErrorCode()
- Specified by:
getErrorCodein interfaceAuthenticationResponseWithError
-
getErrorDescription
public String getErrorDescription()
- Specified by:
getErrorDescriptionin interfaceAuthenticationResponseWithError
-
setScope
public void setScope(String scope)
-
setToken
public void setToken(String token)
-
setInstanceUrl
public void setInstanceUrl(String instanceUrl)
-
setTokenType
public void setTokenType(String tokenType)
-
setIssuedAt
public void setIssuedAt(String issuedAt)
-
setErrorCode
public void setErrorCode(String errorCode)
-
setErrorDescription
public void setErrorDescription(String errorDescription)
-
canEqual
protected boolean canEqual(Object other)
-
-