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
AuthorizationEndpoint
Authorization Endpoint
e.g. https://login.salesforce.com/services/oauth2/authorize
[JsonProperty(PropertyName = "authorizationEndpoint")]
public string AuthorizationEndpoint { get; set; }
Property Value
ClientId
Client ID, a.k.a. Consumer Key
[JsonProperty(PropertyName = "clientId")]
public string ClientId { get; set; }
Property Value
ClientSecret
Client Secret, a.k.a. Consumer Secret
[JsonProperty(PropertyName = "clientSecret")]
public string ClientSecret { get; set; }
Property Value
Password
Salesforce password
[JsonProperty(PropertyName = "password")]
public string Password { get; set; }
Property Value
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
TokenRevocationEndpoint
OAuth token revocation endpoint
e.g. https://login.salesforce.com/services/oauth2/revoke
[JsonProperty(PropertyName = "tokenRevocationEndpoint")]
public string TokenRevocationEndpoint { get; set; }
Property Value
Username
Salesforce username
[JsonProperty(PropertyName = "username")]
public string Username { get; set; }