This repository has been archived on 2024-03-05. You can view files and clone it, but cannot push or open issues or pull requests.
Salesforce.NET/SalesforceContext.cs

20 lines
548 B
C#
Raw Normal View History

2021-04-20 22:10:07 +00:00
namespace Salesforce.NET
{
/// <summary>
/// Maintains context regarding the current Salesforce API connection
/// </summary>
public class SalesforceContext
{
public string AccessToken { get; }
public string InstanceUrl { get; }
public TokenType TokenType { get; }
public SalesforceContext(string accessToken, string instanceUrl, TokenType tokenType)
{
AccessToken = accessToken;
InstanceUrl = instanceUrl;
TokenType = tokenType;
}
}
}