@andrew_eragon/mcp-server-salesforce
Version:
A SaaS-ready Salesforce connector MCP Server with connection pooling and multi-user support.
26 lines (25 loc) • 949 B
JavaScript
/**
* Enum representing the available Salesforce connection types
*/
export var ConnectionType;
(function (ConnectionType) {
/**
* Standard username/password authentication with security token
* Requires SALESFORCE_USERNAME, SALESFORCE_PASSWORD, and optionally SALESFORCE_TOKEN
*/
ConnectionType["User_Password"] = "User_Password";
/**
* OAuth 2.0 Client Credentials Flow using client ID and secret
* Requires SALESFORCE_CLIENT_ID and SALESFORCE_CLIENT_SECRET
*/
ConnectionType["OAuth_2_0_Client_Credentials"] = "OAuth_2.0_Client_Credentials";
/**
* Use existing access token
*/
ConnectionType["Access_Token"] = "Access_Token";
/**
* Use complete OAuth response data from backend
* Includes access_token, refresh_token, instance_url, and other OAuth metadata
*/
ConnectionType["OAuth_Response"] = "OAuth_Response";
})(ConnectionType || (ConnectionType = {}));