Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIErr ¶
type APIErrs ¶
type APIErrs []APIErr
APIErrs represents an error response from salesforce REST API endpoints Example: [
{ "statusCode": "MALFORMED_ID", "message": "SomeSaleforceObject ID: id value of incorrect type: 1234", "fields": [ "Id" ] }
]
type AccessTokenResponse ¶
type AccessTokenResponse struct { AccessToken string `json:"access_token"` Scope string `json:"scope"` Instance string `json:"instance_url"` ID string `json:"id"` TokenType string `json:"token_type"` }
AccessTokenResponse represents a successful response of a requests to salesforce for an OAuth token https://${yourInstance}.salesforce.com/services/oauth2/token
type Client ¶
type ClientMock ¶
type OAuthErr ¶
OAuthErr represents an error that occurs during the OAuth authorization flow https://help.salesforce.com/articleView?id=remoteaccess_oauth_flow_errors.htm&type=5
Click to show internal directories.
Click to hide internal directories.