Table of Contents

Class AuthInfo

Namespace
NetCoreForce.Client.Models
Assembly
NetCoreForce.Client.dll

Contains login info for the Salesforce API, including OAuth endpoint URLs

public class AuthInfo
Inheritance
AuthInfo
Inherited Members

Properties

ApiVersion

Salesforce API version

[JsonProperty(PropertyName = "apiVersion")]
public string ApiVersion { get; set; }

Property Value

string

AuthorizationEndpoint

Authorization Endpoint

e.g. https://login.salesforce.com/services/oauth2/authorize

[JsonProperty(PropertyName = "authorizationEndpoint")]
public string AuthorizationEndpoint { get; set; }

Property Value

string

ClientId

Client ID, a.k.a. Consumer Key

[JsonProperty(PropertyName = "clientId")]
public string ClientId { get; set; }

Property Value

string

ClientSecret

Client Secret, a.k.a. Consumer Secret

[JsonProperty(PropertyName = "clientSecret")]
public string ClientSecret { get; set; }

Property Value

string

Password

Salesforce password

[JsonProperty(PropertyName = "password")]
public string Password { get; set; }

Property Value

string

TokenRequestEndpoint

Token request endpoint

e.g. https://login.salesforce.com/services/oauth2/token

Also used for the OAuth refresh roken process

[JsonProperty(PropertyName = "tokenRequestEndpoint")]
public string TokenRequestEndpoint { get; set; }

Property Value

string

TokenRevocationEndpoint

OAuth token revocation endpoint

e.g. https://login.salesforce.com/services/oauth2/revoke

[JsonProperty(PropertyName = "tokenRevocationEndpoint")]
public string TokenRevocationEndpoint { get; set; }

Property Value

string

Username

Salesforce username

[JsonProperty(PropertyName = "username")]
public string Username { get; set; }

Property Value

string