@salesforce/plugin-auth 2.2.3 → 2.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,7 +18,6 @@ const commonMessages = core_1.Messages.loadMessages('@salesforce/plugin-auth', '
18
18
  const AUTH_URL_FORMAT = 'force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>';
19
19
  class Store extends command_1.SfdxCommand {
20
20
  async run() {
21
- var _a;
22
21
  if (await prompts_1.Prompts.shouldExitCommand(this.ux, this.flags.noprompt))
23
22
  return {};
24
23
  const authFile = this.flags.sfdxurlfile;
@@ -38,16 +37,15 @@ class Store extends command_1.SfdxCommand {
38
37
  });
39
38
  const result = authInfo.getFields(true);
40
39
  // ensure the clientSecret field... even if it is empty
41
- result.clientSecret = (_a = result.clientSecret) !== null && _a !== void 0 ? _a : '';
40
+ result.clientSecret = result.clientSecret ?? '';
42
41
  await core_1.AuthInfo.identifyPossibleScratchOrgs(result, authInfo);
43
42
  const successMsg = commonMessages.getMessage('authorizeCommandSuccess', [result.username, result.orgId]);
44
43
  this.ux.log(successMsg);
45
44
  return result;
46
45
  }
47
46
  async getUrlFromJson(authFile) {
48
- var _a;
49
47
  const authFileJson = (await (0, fs_extra_1.readJson)(authFile));
50
- return ((_a = authFileJson.result) === null || _a === void 0 ? void 0 : _a.sfdxAuthUrl) || authFileJson.sfdxAuthUrl;
48
+ return authFileJson.result?.sfdxAuthUrl || authFileJson.sfdxAuthUrl;
51
49
  }
52
50
  }
53
51
  exports.default = Store;
@@ -1 +1 @@
1
- {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../../src/commands/auth/sfdxurl/store.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAEH,yBAAyB;AACzB,0CAAuC;AACvC,uCAAoC;AACpC,iDAAsE;AACtE,2CAAkE;AAElE,8CAA2C;AAE3C,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ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AAtEH,wBAuEC;AAtEwB,iBAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC;AACpE,cAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AAClE,aAAO,GAAG,CAAC,0BAA0B,CAAC,CAAC;AAE9B,iBAAW,GAAgB;IAChD,WAAW,EAAE,eAAK,CAAC,QAAQ,CAAC;QAC1B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC;QACxC,QAAQ,EAAE,IAAI;KACf,CAAC;IACF,wBAAwB,EAAE,eAAK,CAAC,OAAO,CAAC;QACtC,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,cAAc,CAAC,UAAU,CAAC,kBAAkB,CAAC;KAC3D,CAAC;IACF,kBAAkB,EAAE,eAAK,CAAC,OAAO,CAAC;QAChC,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,cAAc,CAAC,UAAU,CAAC,oBAAoB,CAAC;KAC7D,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,MAAM,CAAC;QACrB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,cAAc,CAAC,UAAU,CAAC,UAAU,CAAC;KACnD,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,OAAO,CAAC;QACtB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,cAAc,CAAC,UAAU,CAAC,cAAc,CAAC;QACtD,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,IAAI;KACb,CAAC;CACH,CAAC"}
package/lib/common.js CHANGED
@@ -13,7 +13,6 @@ core_1.Messages.importMessagesDirectory(__dirname);
13
13
  const messages = core_1.Messages.loadMessages('@salesforce/plugin-auth', 'messages');
14
14
  class Common {
15
15
  static async resolveLoginUrl(instanceUrl) {
16
- var _a;
17
16
  const logger = await core_1.Logger.child('Common', { tag: 'resolveLoginUrl' });
18
17
  if (instanceUrl) {
19
18
  if (instanceUrl.includes('lightning.force.com')) {
@@ -29,7 +28,7 @@ class Common {
29
28
  loginUrl = (0, ts_types_1.getString)(projectJson, 'sfdcLoginUrl', core_1.SfdcUrl.PRODUCTION);
30
29
  }
31
30
  catch (err) {
32
- const message = ((0, ts_types_1.isObject)(err) ? (_a = Reflect.get(err, 'message')) !== null && _a !== void 0 ? _a : err : err);
31
+ const message = ((0, ts_types_1.isObject)(err) ? Reflect.get(err, 'message') ?? err : err);
33
32
  logger.debug(`error occurred while trying to determine loginUrl: ${message}`);
34
33
  loginUrl = core_1.SfdcUrl.PRODUCTION;
35
34
  }
package/lib/common.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,2CAAiF;AACjF,mDAAqE;AAErE,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,UAAU,CAAC,CAAC;AAE9E,MAAa,MAAM;IACV,MAAM,CAAC,KAAK,CAAC,eAAe,CAAC,WAA6B;;QAC/D,MAAM,MAAM,GAAG,MAAM,aAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,GAAG,EAAE,iBAAiB,EAAE,CAAC,CAAC;QACxE,IAAI,WAAW,EAAE;YACf,IAAI,WAAW,CAAC,QAAQ,CAAC,qBAAqB,CAAC,EAAE;gBAC/C,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC,CAAC;gBACvD,MAAM,IAAI,cAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,EAAE,aAAa,CAAC,CAAC;aAC7E;YACD,OAAO,WAAW,CAAC;SACpB;QACD,IAAI,QAAgB,CAAC;QACrB,IAAI;YACF,MAAM,OAAO,GAAG,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,EAAE,CAAC,CAAC;QACtC,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF;AA3BD,wBA2BC"}
@@ -1 +1 @@
1
- {"version":"2.2.3","commands":{"auth:list":{"id":"auth:list","description":"list auth connection information","strict":true,"usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-auth","pluginAlias":"@salesforce/plugin-auth","pluginType":"core","aliases":["force:auth:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[],"flagsConfig":{}},"auth:logout":{"id":"auth:logout","description":"log out from authorized orgs\nBy default, this command logs you out from your default scratch org.","strict":true,"usage":"<%= command.id %> [-a] [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-auth","pluginAlias":"@salesforce/plugin-auth","pluginType":"core","aliases":["force:auth:logout"],"examples":["$ sfdx auth:logout -u me@my.org","$ sfdx auth:logout -a","$ sfdx auth:logout -p"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"all":{"name":"all","type":"boolean","char":"a","description":"include all authenticated orgs","required":false,"allowNo":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for confirmation","required":false,"allowNo":false}},"args":[],"supportsUsername":true,"flagsConfig":{"all":{"kind":"boolean","char":"a","description":"include all authenticated orgs","longDescription":"Includes all authenticated orgs: for example, Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs.","required":false,"allowNo":false,"type":"boolean"},"noprompt":{"kind":"boolean","char":"p","description":"do not prompt for confirmation","required":false,"allowNo":false,"type":"boolean"}}},"auth:accesstoken:store":{"id":"auth:accesstoken:store","description":"authorize an org using an existing Salesforce access token\nBy default, the command runs interactively and asks you for the access token. If you previously authorized the org, the command prompts whether you want to overwrite the local file. Specify --noprompt to not be prompted.\nTo use the command in a CI/CD script, set the SFDX_ACCESS_TOKEN environment variable to the access token. Then run the command with the --noprompt parameter. \"<org id>!<accesstoken>\"","strict":true,"usage":"<%= command.id %> -r <url> [-d] [-s] [-a <string>] [-p] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-auth","pluginAlias":"@salesforce/plugin-auth","pluginType":"core","aliases":["force:auth:accesstoken:store"],"examples":["$ sfdx auth:accesstoken:store --instanceurl https://mycompany.my.salesforce.com","$ export SFDX_ACCESS_TOKEN=00Dxx0000000000!xxxxx","$ sfdx auth:accesstoken:store --instanceurl https://dev-hub.my.salesforce.com --noprompt"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"the login URL of the instance the org lives on","required":true,"multiple":false},"setdefaultdevhubusername":{"name":"setdefaultdevhubusername","type":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"set an alias for the authenticated org","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for confirmation","required":false,"allowNo":false}},"args":[],"flagsConfig":{"instanceurl":{"kind":"url","char":"r","description":"the login URL of the instance the org lives on","required":true,"input":[],"multiple":false,"type":"option"},"setdefaultdevhubusername":{"kind":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","default":false,"allowNo":false,"type":"boolean"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","default":false,"allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"set an alias for the authenticated org","input":[],"multiple":false,"type":"option"},"noprompt":{"kind":"boolean","char":"p","description":"do not prompt for confirmation","required":false,"default":false,"allowNo":false,"type":"boolean"}}},"auth:device:login":{"id":"auth:device:login","description":"authorize an org using a device code\nYou must open a browser, navigate to the verification URL, and enter the code. Log in, if not already logged in, and you’ll be prompted to allow the device to connect to the org.","strict":true,"usage":"<%= command.id %> [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-auth","pluginAlias":"@salesforce/plugin-auth","pluginType":"core","aliases":["force:auth:device:login"],"examples":["$ sfdx auth:device:login -d -a TestOrg1","$ sfdx auth:device:login -i <OAuth client id>","$ sfdx auth:device:login -r https://MyDomainName--SandboxName.sandbox.my.salesforce.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"clientid":{"name":"clientid","type":"option","char":"i","description":"OAuth client ID (sometimes called the consumer key)","multiple":false},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"the login URL of the instance the org lives on","multiple":false},"setdefaultdevhubusername":{"name":"setdefaultdevhubusername","type":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"set an alias for the authenticated org","multiple":false},"disablemasking":{"name":"disablemasking","type":"boolean","description":"disable masking of user input (for use with problematic terminals)","hidden":true,"allowNo":false}},"args":[],"flagsConfig":{"clientid":{"kind":"string","char":"i","description":"OAuth client ID (sometimes called the consumer key)","input":[],"multiple":false,"type":"option"},"instanceurl":{"kind":"url","char":"r","description":"the login URL of the instance the org lives on","input":[],"multiple":false,"type":"option"},"setdefaultdevhubusername":{"kind":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false,"type":"boolean"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"set an alias for the authenticated org","input":[],"multiple":false,"type":"option"},"disablemasking":{"kind":"boolean","description":"disable masking of user input (for use with problematic terminals)","hidden":true,"allowNo":false,"type":"boolean"}}},"auth:jwt:grant":{"id":"auth:jwt:grant","description":"authorize an org using the JWT flow\nUse a certificate associated with your private key that has been uploaded to a personal connected app.\nIf you specify an --instanceurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To specify a sandbox, set --instanceurl to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.","strict":true,"usage":"<%= command.id %> -u <string> -f <filepath> -i <string> [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-auth","pluginAlias":"@salesforce/plugin-auth","pluginType":"core","aliases":["force:auth:jwt:grant"],"examples":["$ sfdx auth:jwt:grant -u me@my.org -f <path to jwt key file> -i <OAuth client id>","$ sfdx auth:jwt:grant -u me@my.org -f <path to jwt key file> -i <OAuth client id> -s -a MyDefaultOrg","$ sfdx auth:jwt:grant -u me@acme.org -f <path to jwt key file> -i <OAuth client id> -r https://acme.my.salesforce.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"username":{"name":"username","type":"option","char":"u","description":"authentication username","required":true,"multiple":false},"jwtkeyfile":{"name":"jwtkeyfile","type":"option","char":"f","description":"path to a file containing the private key","required":true,"multiple":false},"clientid":{"name":"clientid","type":"option","char":"i","description":"OAuth client ID (sometimes called the consumer key)","required":true,"multiple":false},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"the login URL of the instance the org lives on","multiple":false},"setdefaultdevhubusername":{"name":"setdefaultdevhubusername","type":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"set an alias for the authenticated org","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for auth confirmation in demo mode","hidden":true,"required":false,"allowNo":false}},"args":[],"flagsConfig":{"username":{"kind":"string","char":"u","description":"authentication username","required":true,"input":[],"multiple":false,"type":"option"},"jwtkeyfile":{"kind":"filepath","char":"f","description":"path to a file containing the private key","required":true,"input":[],"multiple":false,"type":"option"},"clientid":{"kind":"string","char":"i","description":"OAuth client ID (sometimes called the consumer key)","required":true,"input":[],"multiple":false,"type":"option"},"instanceurl":{"kind":"url","char":"r","description":"the login URL of the instance the org lives on","input":[],"multiple":false,"type":"option"},"setdefaultdevhubusername":{"kind":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false,"type":"boolean"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"set an alias for the authenticated org","input":[],"multiple":false,"type":"option"},"noprompt":{"kind":"boolean","char":"p","description":"do not prompt for auth confirmation in demo mode","required":false,"hidden":true,"allowNo":false,"type":"boolean"}}},"auth:sfdxurl:store":{"id":"auth:sfdxurl:store","description":"authorize an org using an SFDX auth URL stored within a file\nThe SFDX auth URL must have the format \"force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>\". NOTE: The SFDX auth URL uses the \"force\" protocol, and not \"http\" or \"https\". Also, the \"instanceUrl\" inside the SFDX auth URL doesn't include the protocol (\"https://\").\n\nYou have three options when creating the auth file. The easiest option is to redirect the output of the `sfdx force:org:display --verbose --json` command into a file. For example, using an org you have already authorized:\n\n $ sfdx force:org:display -u <OrgUsername> --verbose --json > authFile.json\n $ sfdx auth:sfdxurl:store -f authFile.json\n\nThe resulting JSON file contains the URL in the sfdxAuthUrl property inside of a results object. NOTE: The `force:org:display --verbose` command displays the refresh token only for orgs authorized with the web server flow, and not the JWT bearer flow. \n\nYou can also create a JSON file that has a top-level property named sfdxAuthUrl whose value is the auth URL. Finally, you can create a normal text file that includes just the URL and nothing else.","strict":true,"usage":"<%= command.id %> -f <filepath> [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-auth","pluginAlias":"@salesforce/plugin-auth","pluginType":"core","aliases":["force:auth:sfdxurl:store"],"examples":["$ sfdx auth:sfdxurl:store -f <path to sfdxAuthUrl file>","$ sfdx auth:sfdxurl:store -f <path to sfdxAuthUrl file> -s -a MyDefaultOrg"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"sfdxurlfile":{"name":"sfdxurlfile","type":"option","char":"f","description":"path to a file containing the sfdx url","required":true,"multiple":false},"setdefaultdevhubusername":{"name":"setdefaultdevhubusername","type":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"set an alias for the authenticated org","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for auth confirmation in demo mode","hidden":true,"required":false,"allowNo":false}},"args":[],"flagsConfig":{"sfdxurlfile":{"kind":"filepath","char":"f","description":"path to a file containing the sfdx url","required":true,"input":[],"multiple":false,"type":"option"},"setdefaultdevhubusername":{"kind":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false,"type":"boolean"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"set an alias for the authenticated org","input":[],"multiple":false,"type":"option"},"noprompt":{"kind":"boolean","char":"p","description":"do not prompt for auth confirmation in demo mode","required":false,"hidden":true,"allowNo":false,"type":"boolean"}}},"auth:web:login":{"id":"auth:web:login","description":"authorize an org using the web login flow\nIf you specify an --instanceurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To log in to a sandbox, set --instanceurl to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.","strict":true,"usage":"<%= command.id %> [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-auth","pluginAlias":"@salesforce/plugin-auth","pluginType":"core","aliases":["force:auth:web:login"],"examples":["$ sfdx auth:web:login -a TestOrg1","$ sfdx auth:web:login -i <OAuth client id>","$ sfdx auth:web:login -r https://MyDomainName--SandboxName.sandbox.my.salesforce.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"clientid":{"name":"clientid","type":"option","char":"i","description":"OAuth client ID (sometimes called the consumer key)","multiple":false},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"the login URL of the instance the org lives on","multiple":false},"setdefaultdevhubusername":{"name":"setdefaultdevhubusername","type":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"set an alias for the authenticated org","multiple":false},"disablemasking":{"name":"disablemasking","type":"boolean","description":"disable masking of user input (for use with problematic terminals)","hidden":true,"allowNo":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for auth confirmation in demo mode","hidden":true,"required":false,"allowNo":false}},"args":[],"flagsConfig":{"clientid":{"kind":"string","char":"i","description":"OAuth client ID (sometimes called the consumer key)","input":[],"multiple":false,"type":"option"},"instanceurl":{"kind":"url","char":"r","description":"the login URL of the instance the org lives on","input":[],"multiple":false,"type":"option"},"setdefaultdevhubusername":{"kind":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false,"type":"boolean"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"set an alias for the authenticated org","input":[],"multiple":false,"type":"option"},"disablemasking":{"kind":"boolean","description":"disable masking of user input (for use with problematic terminals)","hidden":true,"allowNo":false,"type":"boolean"},"noprompt":{"kind":"boolean","char":"p","description":"do not prompt for auth confirmation in demo mode","required":false,"hidden":true,"allowNo":false,"type":"boolean"}}}}}
1
+ {"version":"2.2.5","commands":{"auth:list":{"id":"auth:list","description":"list auth connection information","strict":true,"usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-auth","pluginAlias":"@salesforce/plugin-auth","pluginType":"core","aliases":["force:auth:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[],"flagsConfig":{}},"auth:logout":{"id":"auth:logout","description":"log out from authorized orgs\nBy default, this command logs you out from your default scratch org.","strict":true,"usage":"<%= command.id %> [-a] [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-auth","pluginAlias":"@salesforce/plugin-auth","pluginType":"core","aliases":["force:auth:logout"],"examples":["$ sfdx auth:logout -u me@my.org","$ sfdx auth:logout -a","$ sfdx auth:logout -p"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"all":{"name":"all","type":"boolean","char":"a","description":"include all authenticated orgs","required":false,"allowNo":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for confirmation","required":false,"allowNo":false}},"args":[],"supportsUsername":true,"flagsConfig":{"all":{"kind":"boolean","char":"a","description":"include all authenticated orgs","longDescription":"Includes all authenticated orgs: for example, Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs.","required":false,"allowNo":false,"type":"boolean"},"noprompt":{"kind":"boolean","char":"p","description":"do not prompt for confirmation","required":false,"allowNo":false,"type":"boolean"}}},"auth:accesstoken:store":{"id":"auth:accesstoken:store","description":"authorize an org using an existing Salesforce access token\nBy default, the command runs interactively and asks you for the access token. If you previously authorized the org, the command prompts whether you want to overwrite the local file. Specify --noprompt to not be prompted.\nTo use the command in a CI/CD script, set the SFDX_ACCESS_TOKEN environment variable to the access token. Then run the command with the --noprompt parameter. \"<org id>!<accesstoken>\"","strict":true,"usage":"<%= command.id %> -r <url> [-d] [-s] [-a <string>] [-p] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-auth","pluginAlias":"@salesforce/plugin-auth","pluginType":"core","aliases":["force:auth:accesstoken:store"],"examples":["$ sfdx auth:accesstoken:store --instanceurl https://mycompany.my.salesforce.com","$ export SFDX_ACCESS_TOKEN=00Dxx0000000000!xxxxx","$ sfdx auth:accesstoken:store --instanceurl https://dev-hub.my.salesforce.com --noprompt"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"the login URL of the instance the org lives on","required":true,"multiple":false},"setdefaultdevhubusername":{"name":"setdefaultdevhubusername","type":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"set an alias for the authenticated org","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for confirmation","required":false,"allowNo":false}},"args":[],"flagsConfig":{"instanceurl":{"kind":"url","char":"r","description":"the login URL of the instance the org lives on","required":true,"input":[],"multiple":false,"type":"option"},"setdefaultdevhubusername":{"kind":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","default":false,"allowNo":false,"type":"boolean"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","default":false,"allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"set an alias for the authenticated org","input":[],"multiple":false,"type":"option"},"noprompt":{"kind":"boolean","char":"p","description":"do not prompt for confirmation","required":false,"default":false,"allowNo":false,"type":"boolean"}}},"auth:device:login":{"id":"auth:device:login","description":"authorize an org using a device code\nYou must open a browser, navigate to the verification URL, and enter the code. Log in, if not already logged in, and you’ll be prompted to allow the device to connect to the org.","strict":true,"usage":"<%= command.id %> [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-auth","pluginAlias":"@salesforce/plugin-auth","pluginType":"core","aliases":["force:auth:device:login"],"examples":["$ sfdx auth:device:login -d -a TestOrg1","$ sfdx auth:device:login -i <OAuth client id>","$ sfdx auth:device:login -r https://MyDomainName--SandboxName.sandbox.my.salesforce.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"clientid":{"name":"clientid","type":"option","char":"i","description":"OAuth client ID (sometimes called the consumer key)","multiple":false},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"the login URL of the instance the org lives on","multiple":false},"setdefaultdevhubusername":{"name":"setdefaultdevhubusername","type":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"set an alias for the authenticated org","multiple":false},"disablemasking":{"name":"disablemasking","type":"boolean","description":"disable masking of user input (for use with problematic terminals)","hidden":true,"allowNo":false}},"args":[],"flagsConfig":{"clientid":{"kind":"string","char":"i","description":"OAuth client ID (sometimes called the consumer key)","input":[],"multiple":false,"type":"option"},"instanceurl":{"kind":"url","char":"r","description":"the login URL of the instance the org lives on","input":[],"multiple":false,"type":"option"},"setdefaultdevhubusername":{"kind":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false,"type":"boolean"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"set an alias for the authenticated org","input":[],"multiple":false,"type":"option"},"disablemasking":{"kind":"boolean","description":"disable masking of user input (for use with problematic terminals)","hidden":true,"allowNo":false,"type":"boolean"}}},"auth:jwt:grant":{"id":"auth:jwt:grant","description":"authorize an org using the JWT flow\nUse a certificate associated with your private key that has been uploaded to a personal connected app.\nIf you specify an --instanceurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To specify a sandbox, set --instanceurl to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.","strict":true,"usage":"<%= command.id %> -u <string> -f <filepath> -i <string> [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-auth","pluginAlias":"@salesforce/plugin-auth","pluginType":"core","aliases":["force:auth:jwt:grant"],"examples":["$ sfdx auth:jwt:grant -u me@my.org -f <path to jwt key file> -i <OAuth client id>","$ sfdx auth:jwt:grant -u me@my.org -f <path to jwt key file> -i <OAuth client id> -s -a MyDefaultOrg","$ sfdx auth:jwt:grant -u me@acme.org -f <path to jwt key file> -i <OAuth client id> -r https://acme.my.salesforce.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"username":{"name":"username","type":"option","char":"u","description":"authentication username","required":true,"multiple":false},"jwtkeyfile":{"name":"jwtkeyfile","type":"option","char":"f","description":"path to a file containing the private key","required":true,"multiple":false},"clientid":{"name":"clientid","type":"option","char":"i","description":"OAuth client ID (sometimes called the consumer key)","required":true,"multiple":false},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"the login URL of the instance the org lives on","multiple":false},"setdefaultdevhubusername":{"name":"setdefaultdevhubusername","type":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"set an alias for the authenticated org","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for auth confirmation in demo mode","hidden":true,"required":false,"allowNo":false}},"args":[],"flagsConfig":{"username":{"kind":"string","char":"u","description":"authentication username","required":true,"input":[],"multiple":false,"type":"option"},"jwtkeyfile":{"kind":"filepath","char":"f","description":"path to a file containing the private key","required":true,"input":[],"multiple":false,"type":"option"},"clientid":{"kind":"string","char":"i","description":"OAuth client ID (sometimes called the consumer key)","required":true,"input":[],"multiple":false,"type":"option"},"instanceurl":{"kind":"url","char":"r","description":"the login URL of the instance the org lives on","input":[],"multiple":false,"type":"option"},"setdefaultdevhubusername":{"kind":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false,"type":"boolean"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"set an alias for the authenticated org","input":[],"multiple":false,"type":"option"},"noprompt":{"kind":"boolean","char":"p","description":"do not prompt for auth confirmation in demo mode","required":false,"hidden":true,"allowNo":false,"type":"boolean"}}},"auth:sfdxurl:store":{"id":"auth:sfdxurl:store","description":"authorize an org using an SFDX auth URL stored within a file\nThe SFDX auth URL must have the format \"force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>\". NOTE: The SFDX auth URL uses the \"force\" protocol, and not \"http\" or \"https\". Also, the \"instanceUrl\" inside the SFDX auth URL doesn't include the protocol (\"https://\").\n\nYou have three options when creating the auth file. The easiest option is to redirect the output of the `sfdx force:org:display --verbose --json` command into a file. For example, using an org you have already authorized:\n\n $ sfdx force:org:display -u <OrgUsername> --verbose --json > authFile.json\n $ sfdx auth:sfdxurl:store -f authFile.json\n\nThe resulting JSON file contains the URL in the sfdxAuthUrl property inside of a results object. NOTE: The `force:org:display --verbose` command displays the refresh token only for orgs authorized with the web server flow, and not the JWT bearer flow. \n\nYou can also create a JSON file that has a top-level property named sfdxAuthUrl whose value is the auth URL. Finally, you can create a normal text file that includes just the URL and nothing else.","strict":true,"usage":"<%= command.id %> -f <filepath> [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-auth","pluginAlias":"@salesforce/plugin-auth","pluginType":"core","aliases":["force:auth:sfdxurl:store"],"examples":["$ sfdx auth:sfdxurl:store -f <path to sfdxAuthUrl file>","$ sfdx auth:sfdxurl:store -f <path to sfdxAuthUrl file> -s -a MyDefaultOrg"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"sfdxurlfile":{"name":"sfdxurlfile","type":"option","char":"f","description":"path to a file containing the sfdx url","required":true,"multiple":false},"setdefaultdevhubusername":{"name":"setdefaultdevhubusername","type":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"set an alias for the authenticated org","multiple":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for auth confirmation in demo mode","hidden":true,"required":false,"allowNo":false}},"args":[],"flagsConfig":{"sfdxurlfile":{"kind":"filepath","char":"f","description":"path to a file containing the sfdx url","required":true,"input":[],"multiple":false,"type":"option"},"setdefaultdevhubusername":{"kind":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false,"type":"boolean"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"set an alias for the authenticated org","input":[],"multiple":false,"type":"option"},"noprompt":{"kind":"boolean","char":"p","description":"do not prompt for auth confirmation in demo mode","required":false,"hidden":true,"allowNo":false,"type":"boolean"}}},"auth:web:login":{"id":"auth:web:login","description":"authorize an org using the web login flow\nIf you specify an --instanceurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To log in to a sandbox, set --instanceurl to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.","strict":true,"usage":"<%= command.id %> [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-auth","pluginAlias":"@salesforce/plugin-auth","pluginType":"core","aliases":["force:auth:web:login"],"examples":["$ sfdx auth:web:login -a TestOrg1","$ sfdx auth:web:login -i <OAuth client id>","$ sfdx auth:web:login -r https://MyDomainName--SandboxName.sandbox.my.salesforce.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"clientid":{"name":"clientid","type":"option","char":"i","description":"OAuth client ID (sometimes called the consumer key)","multiple":false},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"the login URL of the instance the org lives on","multiple":false},"setdefaultdevhubusername":{"name":"setdefaultdevhubusername","type":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false},"setdefaultusername":{"name":"setdefaultusername","type":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false},"setalias":{"name":"setalias","type":"option","char":"a","description":"set an alias for the authenticated org","multiple":false},"disablemasking":{"name":"disablemasking","type":"boolean","description":"disable masking of user input (for use with problematic terminals)","hidden":true,"allowNo":false},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for auth confirmation in demo mode","hidden":true,"required":false,"allowNo":false}},"args":[],"flagsConfig":{"clientid":{"kind":"string","char":"i","description":"OAuth client ID (sometimes called the consumer key)","input":[],"multiple":false,"type":"option"},"instanceurl":{"kind":"url","char":"r","description":"the login URL of the instance the org lives on","input":[],"multiple":false,"type":"option"},"setdefaultdevhubusername":{"kind":"boolean","char":"d","description":"set the authenticated org as the default dev hub org for scratch org creation","allowNo":false,"type":"boolean"},"setdefaultusername":{"kind":"boolean","char":"s","description":"set the authenticated org as the default username that all commands run against","allowNo":false,"type":"boolean"},"setalias":{"kind":"string","char":"a","description":"set an alias for the authenticated org","input":[],"multiple":false,"type":"option"},"disablemasking":{"kind":"boolean","description":"disable masking of user input (for use with problematic terminals)","hidden":true,"allowNo":false,"type":"boolean"},"noprompt":{"kind":"boolean","char":"p","description":"do not prompt for auth confirmation in demo mode","required":false,"hidden":true,"allowNo":false,"type":"boolean"}}}}}
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-auth",
3
3
  "description": "plugin for sfdx auth commands",
4
- "version": "2.2.3",
4
+ "version": "2.2.5",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "main": "lib/index.js",
8
8
  "dependencies": {
9
- "@oclif/core": "^1.9.0",
9
+ "@oclif/core": "^1.16.1",
10
10
  "@salesforce/command": "^5.1.3",
11
- "@salesforce/core": "^3.24.1",
11
+ "@salesforce/core": "^3.30.0",
12
12
  "@salesforce/kit": "^1.5.17",
13
13
  "chalk": "^4.1.2",
14
14
  "fs-extra": "^10.0.1",
@@ -50,7 +50,7 @@
50
50
  "shx": "0.3.4",
51
51
  "sinon": "10.0.0",
52
52
  "ts-node": "^10.0.0",
53
- "typescript": "^4.1.3"
53
+ "typescript": "^4.8.3"
54
54
  },
55
55
  "config": {
56
56
  "commitizen": {
@@ -136,7 +136,7 @@
136
136
  "access": "public"
137
137
  },
138
138
  "sfdx": {
139
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/2.2.3.crt",
140
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/2.2.3.sig"
139
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/2.2.5.crt",
140
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/2.2.5.sig"
141
141
  }
142
142
  }
package/CHANGELOG.md DELETED
@@ -1,262 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ### [2.2.3](https://github.com/salesforcecli/plugin-auth/compare/v2.2.2...v2.2.3) (2022-07-21)
6
-
7
- ### Bug Fixes
8
-
9
- - bump sfdx-core ([e611476](https://github.com/salesforcecli/plugin-auth/commit/e6114761b36b27126aae1ebc3a414602ba858990))
10
-
11
- ### [2.2.2](https://github.com/salesforcecli/plugin-auth/compare/v2.2.1...v2.2.2) (2022-06-28)
12
-
13
- ### Bug Fixes
14
-
15
- - bump deps to parking orbited versions ([cfc6a11](https://github.com/salesforcecli/plugin-auth/commit/cfc6a1139b55c03ac680dccd3c1da628a962658b))
16
-
17
- ### [2.2.1](https://github.com/salesforcecli/plugin-auth/compare/v2.2.0...v2.2.1) (2022-06-28)
18
-
19
- ### Bug Fixes
20
-
21
- - remove jsforce types (part of parking orbit work) ([#427](https://github.com/salesforcecli/plugin-auth/issues/427)) ([2a7da09](https://github.com/salesforcecli/plugin-auth/commit/2a7da09d62e5e92eb90d57a5f17ac79fa588a22b))
22
-
23
- ## [2.2.0](https://github.com/salesforcecli/plugin-auth/compare/v2.1.0...v2.2.0) (2022-06-22)
24
-
25
- ### Features
26
-
27
- - use StateAggregator ([ab99136](https://github.com/salesforcecli/plugin-auth/commit/ab9913631550c01e5f7748eea3ab31814f523ff9))
28
-
29
- ## [2.1.0](https://github.com/salesforcecli/plugin-auth/compare/v2.0.3...v2.1.0) (2022-06-02)
30
-
31
- ### Features
32
-
33
- - bin/dev ([fc7d619](https://github.com/salesforcecli/plugin-auth/commit/fc7d61937284b3f45c41275a5238220822630e04))
34
- - bump core to get jwt audience features ([66993ed](https://github.com/salesforcecli/plugin-auth/commit/66993ed9cab690417abbe73356c551a0712c6521))
35
-
36
- ### [2.0.3](https://github.com/salesforcecli/plugin-auth/compare/v2.0.2...v2.0.3) (2022-05-20)
37
-
38
- ### Bug Fixes
39
-
40
- - add prompt to example in messages ([dbbb69e](https://github.com/salesforcecli/plugin-auth/commit/dbbb69e9540796c051847203c7398c1731ba40e2))
41
- - add prompt to examples ([a7ddc31](https://github.com/salesforcecli/plugin-auth/commit/a7ddc31a8567d0a0064125a4b3966c6564702333))
42
- - add prompt to examples ([753ee39](https://github.com/salesforcecli/plugin-auth/commit/753ee39c9548b6e8a25380021fde0a2e3ab6f811))
43
- - add prompt to examples ([db042db](https://github.com/salesforcecli/plugin-auth/commit/db042db69126f428fcd06cbf4c150d89052d8379))
44
- - add prompt to examples ([4110039](https://github.com/salesforcecli/plugin-auth/commit/41100398c99d67970145f9ff8907000ca5a60b7d))
45
- - add prompt to examples ([75c41bd](https://github.com/salesforcecli/plugin-auth/commit/75c41bde49f707708865bdb320d8e6c7281b3239))
46
-
47
- ### [2.0.2](https://github.com/salesforcecli/plugin-auth/compare/v2.0.1...v2.0.2) (2022-04-21)
48
-
49
- ### Bug Fixes
50
-
51
- - use configAgg on command ([#391](https://github.com/salesforcecli/plugin-auth/issues/391)) ([1e0a29c](https://github.com/salesforcecli/plugin-auth/commit/1e0a29c5209b9c4a907962123f6df85af0850197))
52
-
53
- ### [2.0.1](https://github.com/salesforcecli/plugin-auth/compare/v2.0.0...v2.0.1) (2022-04-21)
54
-
55
- ### Bug Fixes
56
-
57
- - force a new release ([#390](https://github.com/salesforcecli/plugin-auth/issues/390)) ([0fc1e05](https://github.com/salesforcecli/plugin-auth/commit/0fc1e0592073a75fd5bf8adf1de832643c530657))
58
-
59
- ## [2.0.0](https://github.com/salesforcecli/plugin-auth/compare/v1.8.2...v2.0.0) (2022-04-11)
60
-
61
- ### Bug Fixes
62
-
63
- - building with core3 command5 ([f69c752](https://github.com/salesforcecli/plugin-auth/commit/f69c752a27739433736a837bd61602daf4240dd1))
64
- - use node 14 explicitly ([#386](https://github.com/salesforcecli/plugin-auth/issues/386)) ([c1ca07d](https://github.com/salesforcecli/plugin-auth/commit/c1ca07de356a035c428b268a2897e8254b28ca8f))
65
- - use node lts ([#385](https://github.com/salesforcecli/plugin-auth/issues/385)) ([1b4c903](https://github.com/salesforcecli/plugin-auth/commit/1b4c90336af70ad0e9b4464ea171399a6705436d))
66
- - use oclif not @oclif/dev-cli ([#384](https://github.com/salesforcecli/plugin-auth/issues/384)) ([6ff0a1d](https://github.com/salesforcecli/plugin-auth/commit/6ff0a1d8fdb16c5fd738d47b30d9ef780c0faaed))
67
-
68
- ### [1.8.2](https://github.com/salesforcecli/plugin-auth/compare/v1.8.1...v1.8.2) (2022-03-30)
69
-
70
- ### Bug Fixes
71
-
72
- - set isDevHub when --setdefaultdevhubusername is passed ([#375](https://github.com/salesforcecli/plugin-auth/issues/375)) ([811f464](https://github.com/salesforcecli/plugin-auth/commit/811f464d2bf16f18798bd4f515c3229f998d4384))
73
-
74
- ### [1.8.1](https://github.com/salesforcecli/plugin-auth/compare/v1.8.0...v1.8.1) (2022-01-31)
75
-
76
- ### Bug Fixes
77
-
78
- - use `d` as short form of `setdefaultdevhubusername` flag ([e176462](https://github.com/salesforcecli/plugin-auth/commit/e17646281e6c02a9691612bf20aa8ac5da0e82bd))
79
-
80
- ## [1.8.0](https://github.com/salesforcecli/plugin-auth/compare/v1.7.7...v1.8.0) (2021-12-02)
81
-
82
- ### Features
83
-
84
- - bump deps ([5c943c8](https://github.com/salesforcecli/plugin-auth/commit/5c943c8129e8e8ce2e937378fd4eda51181de114))
85
-
86
- ### [1.7.7](https://github.com/salesforcecli/plugin-auth/compare/v1.7.6...v1.7.7) (2021-11-30)
87
-
88
- ### Bug Fixes
89
-
90
- - remove incorrect auth url format option ([26bf11e](https://github.com/salesforcecli/plugin-auth/commit/26bf11ea5cb8e9705d720fbc2fc0352cc43c6b30))
91
- - update help ... ([7a5b88e](https://github.com/salesforcecli/plugin-auth/commit/7a5b88eedf59dc6223bab495f3fa86d9bfc05ffa))
92
-
93
- ### [1.7.6](https://github.com/salesforcecli/plugin-auth/compare/v1.7.5...v1.7.6) (2021-11-17)
94
-
95
- ### Bug Fixes
96
-
97
- - update sandbox url ([a62a0e3](https://github.com/salesforcecli/plugin-auth/commit/a62a0e3324134d7ea64fdc6a33430c187f9bf8c6))
98
- - update sandbox URL ([db5d850](https://github.com/salesforcecli/plugin-auth/commit/db5d850f2e212788039d2e41d66d3b4a61190877))
99
- - update sandbox URL ([b003ca6](https://github.com/salesforcecli/plugin-auth/commit/b003ca6210f5f8c2137be684ef82793c1c7beb62))
100
-
101
- ### [1.7.5](https://github.com/salesforcecli/plugin-auth/compare/v1.7.4...v1.7.5) (2021-10-26)
102
-
103
- ### Bug Fixes
104
-
105
- - change column header with OCLIF table method ([c577540](https://github.com/salesforcecli/plugin-auth/commit/c57754059b6cb5a2c85059a3cf0f1f55ce85ac99))
106
-
107
- ### [1.7.4](https://github.com/salesforcecli/plugin-auth/compare/v1.7.3...v1.7.4) (2021-10-19)
108
-
109
- ### Bug Fixes
110
-
111
- - add missing long command description ([793ccac](https://github.com/salesforcecli/plugin-auth/commit/793ccac8bc5e3ce45ac9b07995bca00b24347eea))
112
-
113
- ### [1.7.3](https://github.com/salesforcecli/plugin-auth/compare/v1.7.2...v1.7.3) (2021-10-12)
114
-
115
- ### [1.7.2](https://github.com/salesforcecli/plugin-auth/compare/v1.7.1...v1.7.2) (2021-10-05)
116
-
117
- ### Bug Fixes
118
-
119
- - update deps ([59c8b30](https://github.com/salesforcecli/plugin-auth/commit/59c8b3029e7c03ac8d432f3506a72b6ff8722b92))
120
-
121
- ### [1.7.1](https://github.com/salesforcecli/plugin-auth/compare/v1.7.0...v1.7.1) (2021-06-25)
122
-
123
- ### Bug Fixes
124
-
125
- - edit help for auth:accesstoken:store ([61d51d8](https://github.com/salesforcecli/plugin-auth/commit/61d51d81d311ace1674fa9c71e7d3bbe9ae698fe))
126
-
127
- ## [1.7.0](https://github.com/salesforcecli/plugin-auth/compare/v1.6.1...v1.7.0) (2021-06-23)
128
-
129
- ### Features
130
-
131
- - add auth:accesstoken:store command ([#165](https://github.com/salesforcecli/plugin-auth/issues/165)) ([3f7d75a](https://github.com/salesforcecli/plugin-auth/commit/3f7d75a4d1490037610b55c3f49823ed94decbbd)), closes [#152](https://github.com/salesforcecli/plugin-auth/issues/152) [#148](https://github.com/salesforcecli/plugin-auth/issues/148) [#152](https://github.com/salesforcecli/plugin-auth/issues/152) [#152](https://github.com/salesforcecli/plugin-auth/issues/152) [#152](https://github.com/salesforcecli/plugin-auth/issues/152) [#152](https://github.com/salesforcecli/plugin-auth/issues/152)
132
-
133
- ### [1.6.1](https://github.com/salesforcecli/plugin-auth/compare/v1.6.0...v1.6.1) (2021-05-27)
134
-
135
- ### Bug Fixes
136
-
137
- - bump core version ([4ac6ee1](https://github.com/salesforcecli/plugin-auth/commit/4ac6ee11544f3cc5aff4aa8e34fa0b7b5120264c))
138
-
139
- ## [1.6.0](https://github.com/salesforcecli/plugin-auth/compare/v1.5.4...v1.6.0) (2021-05-14)
140
-
141
- ### Features
142
-
143
- - identify scratch orgs if hub is known during auth ([#148](https://github.com/salesforcecli/plugin-auth/issues/148)) ([3bd182a](https://github.com/salesforcecli/plugin-auth/commit/3bd182aeb60ee8c2e5ff3183d5c452b20cf46213))
144
-
145
- ### [1.5.4](https://github.com/salesforcecli/plugin-auth/compare/v1.5.3...v1.5.4) (2021-05-10)
146
-
147
- ### [1.5.3](https://github.com/salesforcecli/plugin-auth/compare/v1.5.2...v1.5.3) (2021-04-12)
148
-
149
- ### Bug Fixes
150
-
151
- - catch lightning urls when passed via -r attribute ([d593e61](https://github.com/salesforcecli/plugin-auth/commit/d593e611724ddd1f45f2217b17e679b88762b3c6))
152
- - test for lightning instance url ([d997e96](https://github.com/salesforcecli/plugin-auth/commit/d997e96031c7999bc48b62a73c32c1a4291b6944))
153
-
154
- ### [1.5.2](https://github.com/salesforcecli/plugin-auth/compare/v1.5.1...v1.5.2) (2021-04-09)
155
-
156
- ### [1.5.1](https://github.com/salesforcecli/plugin-auth/compare/v1.5.0...v1.5.1) (2021-03-17)
157
-
158
- ### Bug Fixes
159
-
160
- - **sfdxauthurl:** error handling regression ([11535e1](https://github.com/salesforcecli/plugin-auth/commit/11535e19c28888a9fff361bad33d199629cd1c77))
161
-
162
- ## [1.5.0](https://github.com/salesforcecli/plugin-auth/compare/v1.4.10...v1.5.0) (2021-03-17)
163
-
164
- ### Features
165
-
166
- - add compatibility between force:org:display output and auth:sfdxurl:store input ([77e3de9](https://github.com/salesforcecli/plugin-auth/commit/77e3de9a3a943a258ac4890e8c712c1f8b61495c))
167
-
168
- ### Bug Fixes
169
-
170
- - allow auth:sfdxurl:store to use a json file ([a9f0300](https://github.com/salesforcecli/plugin-auth/commit/a9f0300f5a3d6deef6b5e44bd15cf354cd9ae92c))
171
- - cleanup code and unit tests ([882014d](https://github.com/salesforcecli/plugin-auth/commit/882014d3fc25dcb020238f6e3acac02e2f59a135))
172
- - improve error handling ([1cb5def](https://github.com/salesforcecli/plugin-auth/commit/1cb5def51c3cf06e87f2a6029868ebe135f04161))
173
- - unit test for using json file ([f749fd3](https://github.com/salesforcecli/plugin-auth/commit/f749fd3c7512dfad416270f1053984ac13930a6c))
174
- - unit tests now run on Windows ([119d49a](https://github.com/salesforcecli/plugin-auth/commit/119d49a0a1be3a9794cefab3cf17c384be62d613))
175
- - update documentation ([5033f35](https://github.com/salesforcecli/plugin-auth/commit/5033f354de1108cf266f32b9b3b8600aaf634663))
176
- - whoopsie ([5b6f898](https://github.com/salesforcecli/plugin-auth/commit/5b6f8981ff46af6cb9add70cb6f7bf0b1fc12ad4))
177
-
178
- ### [1.4.10](https://github.com/salesforcecli/plugin-auth/compare/v1.4.9...v1.4.10) (2021-03-03)
179
-
180
- ### [1.4.9](https://github.com/salesforcecli/plugin-auth/compare/v1.4.8...v1.4.9) (2021-02-23)
181
-
182
- ### Bug Fixes
183
-
184
- - add actual error from API and throw ([bf29ff1](https://github.com/salesforcecli/plugin-auth/commit/bf29ff1d5c49e1dcd3dc82baf94345a3f979af32))
185
- - should throw error with message ([95d53dd](https://github.com/salesforcecli/plugin-auth/commit/95d53ddf767c4b7ea5f289195595f11a0fd11c0f))
186
-
187
- ### [1.4.8](https://github.com/salesforcecli/plugin-auth/compare/v1.4.7...v1.4.8) (2021-02-04)
188
-
189
- ### Bug Fixes
190
-
191
- - w-8612427 load project, if available, to establish loginurl ([2f3907a](https://github.com/salesforcecli/plugin-auth/commit/2f3907a227f7994dc40fdf15ee8c0025ef837fdb))
192
-
193
- ### [1.4.7](https://github.com/salesforcecli/plugin-auth/compare/v1.4.6...v1.4.7) (2021-01-29)
194
-
195
- ### Bug Fixes
196
-
197
- - Add info about specifying a My Domain URL ([a2be042](https://github.com/salesforcecli/plugin-auth/commit/a2be0423837a1b28e543f84d3d3c20ab9725d1ec))
198
-
199
- ### [1.4.6](https://github.com/salesforcecli/plugin-auth/compare/v1.4.5...v1.4.6) (2021-01-06)
200
-
201
- ### [1.4.5](https://github.com/salesforcecli/plugin-auth/compare/v1.4.4...v1.4.5) (2020-12-10)
202
-
203
- ### [1.4.4](https://github.com/salesforcecli/plugin-auth/compare/v1.4.3...v1.4.4) (2020-12-10)
204
-
205
- ### Bug Fixes
206
-
207
- - device login with instanceurl ([ebd60d1](https://github.com/salesforcecli/plugin-auth/commit/ebd60d1bb3a64528d22b2fb280c9b25d6d3371ac))
208
-
209
- ### [1.4.3](https://github.com/salesforcecli/plugin-auth/compare/v1.4.2...v1.4.3) (2020-12-09)
210
-
211
- ### [1.4.2](https://github.com/salesforcecli/plugin-auth/compare/v1.4.1...v1.4.2) (2020-12-08)
212
-
213
- ### Bug Fixes
214
-
215
- - bumped npm release to v4 ([1e72e22](https://github.com/salesforcecli/plugin-auth/commit/1e72e22513152dc4331a4ce10f945084f9f329d2))
216
-
217
- ### [1.4.1](https://github.com/salesforcecli/plugin-auth/compare/v1.4.0...v1.4.1) (2020-12-08)
218
-
219
- ### Bug Fixes
220
-
221
- - jwt grant error message ([010058f](https://github.com/salesforcecli/plugin-auth/commit/010058f1a8da775f6c2f833f62ec9e379ba226e2))
222
-
223
- ## [1.4.0](https://github.com/salesforcecli/plugin-auth/compare/v1.3.3...v1.4.0) (2020-11-30)
224
-
225
- ### Features
226
-
227
- - alias old commands in force namespace ([e763b55](https://github.com/salesforcecli/plugin-auth/commit/e763b550ffb1d1662c8feb5605d81283cae537a2))
228
-
229
- ### [1.3.3](https://github.com/salesforcecli/plugin-auth/compare/v1.3.2...v1.3.3) (2020-11-02)
230
-
231
- ### [1.3.2](https://github.com/salesforcecli/plugin-auth/compare/v1.3.1...v1.3.2) (2020-10-22)
232
-
233
- ### Bug Fixes
234
-
235
- - various bugs ([3effb85](https://github.com/salesforcecli/plugin-auth/commit/3effb85fe3fbb79785984651cce85419e557022f))
236
-
237
- ### [1.3.1](https://github.com/salesforcecli/plugin-auth/compare/v1.3.0...v1.3.1) (2020-10-21)
238
-
239
- ## [1.3.0](https://github.com/salesforcecli/plugin-auth/compare/v1.2.0...v1.3.0) (2020-10-13)
240
-
241
- ### Features
242
-
243
- - add auth:device:login ([3e880d7](https://github.com/salesforcecli/plugin-auth/commit/3e880d7133ea045726a28d818e3118d8a602662f))
244
- - add auth:web:login ([dc231e5](https://github.com/salesforcecli/plugin-auth/commit/dc231e581e6648b45ce06e249585a7a21cc93df4))
245
-
246
- ## [1.2.0](https://github.com/salesforcecli/plugin-auth/compare/v1.1.3...v1.2.0) (2020-09-30)
247
-
248
- ### Features
249
-
250
- - handle demo mode ([f4a03ca](https://github.com/salesforcecli/plugin-auth/commit/f4a03caee5caec01f7d9bbc9ce501f2d37111d6c))
251
-
252
- ### [1.1.3](https://github.com/salesforcecli/plugin-auth/compare/v1.1.2...v1.1.3) (2020-09-28)
253
-
254
- ### [1.1.2](https://github.com/salesforcecli/plugin-auth/compare/v1.1.1...v1.1.2) (2020-09-28)
255
-
256
- ### [1.1.1](https://github.com/salesforcecli/plugin-auth/compare/v1.1.0...v1.1.1) (2020-09-28)
257
-
258
- ## [1.1.0](https://github.com/salesforcecli/plugin-auth/compare/v1.0.0...v1.1.0) (2020-09-28)
259
-
260
- ### Features
261
-
262
- - add initial auth commands ([c436904](https://github.com/salesforcecli/plugin-auth/commit/c4369047d12e54a1c48fae5fcb86927adc0d0362))