Documentation
¶
Index ¶
Constants ¶
View Source
const AuthTypeBasic = "basic"
View Source
const AuthTypeBearer = "bearer"
View Source
const AuthTypeSalesforceOauth = "SalesforceOauth"
Variables ¶
This section is empty.
Functions ¶
func NewRestAPISource ¶
func NewRestAPISource(sourceConfig personnel_sync.SourceConfig) (personnel_sync.Source, error)
NewRestAPISource unmarshals the sourceConfig's ExtraJson into a restApi struct
Types ¶
type RestAPI ¶
type RestAPI struct { Method string BaseURL string Paths []string ResultsJSONContainer string AuthType string Username string Password string ClientID string ClientSecret string CompareAttribute string }
type SalesforceAuthResponse ¶
Click to show internal directories.
Click to hide internal directories.