Currently, the auth field in the Salesforce struct is private, which limits the ability to directly access the authentication token needed for certain API calls. Specifically, I need to send a GET request to retrieve version data of ContentVersion objects and fetch the actual content, which requires the auth token.
Proposed Solution:
Modify the auth field to be public, enabling external packages to access and utilize the authentication token directly.
Rationale:
Exposing the auth field will improve the usability of the Salesforce client and support advanced integration scenarios that require direct access to authentication details.
Description:
Currently, the auth field in the Salesforce struct is private, which limits the ability to directly access the authentication token needed for certain API calls. Specifically, I need to send a GET request to retrieve version data of ContentVersion objects and fetch the actual content, which requires the auth token.
Proposed Solution:
Modify the auth field to be public, enabling external packages to access and utilize the authentication token directly.
Rationale:
Exposing the auth field will improve the usability of the Salesforce client and support advanced integration scenarios that require direct access to authentication details.