Skip to content

Instantly share code, notes, and snippets.

@mkorman
Last active May 16, 2016 13:11
Show Gist options
  • Save mkorman/46d78ffceec19f0007a809b91e354c58 to your computer and use it in GitHub Desktop.
Save mkorman/46d78ffceec19f0007a809b91e354c58 to your computer and use it in GitHub Desktop.
public class SalesforceClient
{
private const string LOGIN_ENDPOINT = "https://login.salesforce.com/services/oauth2/token";
private const string API_ENDPOINT = "/services/data/v36.0/";
public string Username { get; set; }
public string Password { get; set; }
public string Token { get; set; }
public string ClientId { get; set; }
public string ClientSecret { get; set; }
public string AuthToken { get; set; }
public string InstanceUrl { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment