authenticateOrg
authenticateOrg(
options):Promise<AuthenticateOrgResult>
Defined in: packages/simply-cicd-core/src/sfAuth.ts:88
Authenticates to a Salesforce org using either a JWT flow or an SFDX auth URL, in-process via
@salesforce/core. The auth, alias and default-org settings are written to the same ~/.sf
state sf org login jwt / sf org login sfdx-url write, so later sf processes see them.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<AuthenticateOrgResult>
Throws
Section titled “Throws”If authentication fails; the failure is logged first.