@salesforce/plugin-auth 1.7.5 → 1.7.6
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.
- package/CHANGELOG.md +9 -0
- package/README.md +13 -13
- package/messages/device.login.json +1 -1
- package/messages/jwt.grant.json +1 -1
- package/messages/web.login.json +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
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
4
|
|
|
5
|
+
### [1.7.6](https://github.com/salesforcecli/plugin-auth/compare/v1.7.5...v1.7.6) (2021-11-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* update sandbox url ([a62a0e3](https://github.com/salesforcecli/plugin-auth/commit/a62a0e3324134d7ea64fdc6a33430c187f9bf8c6))
|
|
11
|
+
* update sandbox URL ([db5d850](https://github.com/salesforcecli/plugin-auth/commit/db5d850f2e212788039d2e41d66d3b4a61190877))
|
|
12
|
+
* update sandbox URL ([b003ca6](https://github.com/salesforcecli/plugin-auth/commit/b003ca6210f5f8c2137be684ef82793c1c7beb62))
|
|
13
|
+
|
|
5
14
|
### [1.7.5](https://github.com/salesforcecli/plugin-auth/compare/v1.7.4...v1.7.5) (2021-10-26)
|
|
6
15
|
|
|
7
16
|
|
package/README.md
CHANGED
|
@@ -127,7 +127,7 @@ EXAMPLES
|
|
|
127
127
|
sfdx auth:accesstoken:store --instanceurl https://dev-hub.my.salesforce.com --noprompt
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
-
_See code: [src/commands/auth/accesstoken/store.ts](https://github.com/salesforcecli/plugin-auth/blob/v1.7.
|
|
130
|
+
_See code: [src/commands/auth/accesstoken/store.ts](https://github.com/salesforcecli/plugin-auth/blob/v1.7.5/src/commands/auth/accesstoken/store.ts)_
|
|
131
131
|
|
|
132
132
|
## `sfdx auth:device:login [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
133
133
|
|
|
@@ -174,10 +174,10 @@ ALIASES
|
|
|
174
174
|
EXAMPLES
|
|
175
175
|
sfdx auth:device:login -d -a TestOrg1
|
|
176
176
|
sfdx auth:device:login -i <OAuth client id>
|
|
177
|
-
sfdx auth:device:login -r https://
|
|
177
|
+
sfdx auth:device:login -r https://MyDomainName--SandboxName.sandbox.my.salesforce.com
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
_See code: [src/commands/auth/device/login.ts](https://github.com/salesforcecli/plugin-auth/blob/v1.7.
|
|
180
|
+
_See code: [src/commands/auth/device/login.ts](https://github.com/salesforcecli/plugin-auth/blob/v1.7.5/src/commands/auth/device/login.ts)_
|
|
181
181
|
|
|
182
182
|
## `sfdx auth:jwt:grant -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]`
|
|
183
183
|
|
|
@@ -186,7 +186,7 @@ authorize an org using the JWT flow
|
|
|
186
186
|
```
|
|
187
187
|
authorize an org using the JWT flow
|
|
188
188
|
Use a certificate associated with your private key that has been uploaded to a personal connected app.
|
|
189
|
-
If 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://
|
|
189
|
+
If 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.
|
|
190
190
|
|
|
191
191
|
USAGE
|
|
192
192
|
$ sfdx auth:jwt:grant -u <string> -f <filepath> -i <string> [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel
|
|
@@ -224,7 +224,7 @@ DESCRIPTION
|
|
|
224
224
|
Use a certificate associated with your private key that has been uploaded to a personal connected app.
|
|
225
225
|
If you specify an --instanceurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To
|
|
226
226
|
specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To
|
|
227
|
-
specify a sandbox, set --instanceurl to https://
|
|
227
|
+
specify a sandbox, set --instanceurl to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.
|
|
228
228
|
|
|
229
229
|
ALIASES
|
|
230
230
|
$ sfdx force:auth:jwt:grant
|
|
@@ -235,7 +235,7 @@ EXAMPLES
|
|
|
235
235
|
sfdx auth:jwt:grant -u me@acme.org -f <path to jwt key file> -i <OAuth client id> -r https://acme.my.salesforce.com
|
|
236
236
|
```
|
|
237
237
|
|
|
238
|
-
_See code: [src/commands/auth/jwt/grant.ts](https://github.com/salesforcecli/plugin-auth/blob/v1.7.
|
|
238
|
+
_See code: [src/commands/auth/jwt/grant.ts](https://github.com/salesforcecli/plugin-auth/blob/v1.7.5/src/commands/auth/jwt/grant.ts)_
|
|
239
239
|
|
|
240
240
|
## `sfdx auth:list [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
241
241
|
|
|
@@ -257,7 +257,7 @@ ALIASES
|
|
|
257
257
|
$ sfdx force:auth:list
|
|
258
258
|
```
|
|
259
259
|
|
|
260
|
-
_See code: [src/commands/auth/list.ts](https://github.com/salesforcecli/plugin-auth/blob/v1.7.
|
|
260
|
+
_See code: [src/commands/auth/list.ts](https://github.com/salesforcecli/plugin-auth/blob/v1.7.5/src/commands/auth/list.ts)_
|
|
261
261
|
|
|
262
262
|
## `sfdx auth:logout [-a] [-p] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
263
263
|
|
|
@@ -298,7 +298,7 @@ EXAMPLES
|
|
|
298
298
|
sfdx auth:logout -p
|
|
299
299
|
```
|
|
300
300
|
|
|
301
|
-
_See code: [src/commands/auth/logout.ts](https://github.com/salesforcecli/plugin-auth/blob/v1.7.
|
|
301
|
+
_See code: [src/commands/auth/logout.ts](https://github.com/salesforcecli/plugin-auth/blob/v1.7.5/src/commands/auth/logout.ts)_
|
|
302
302
|
|
|
303
303
|
## `sfdx auth:sfdxurl:store -f <filepath> [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
304
304
|
|
|
@@ -363,7 +363,7 @@ EXAMPLES
|
|
|
363
363
|
sfdx auth:sfdxurl:store -f <path to sfdxAuthUrl file> -s -a MyDefaultOrg
|
|
364
364
|
```
|
|
365
365
|
|
|
366
|
-
_See code: [src/commands/auth/sfdxurl/store.ts](https://github.com/salesforcecli/plugin-auth/blob/v1.7.
|
|
366
|
+
_See code: [src/commands/auth/sfdxurl/store.ts](https://github.com/salesforcecli/plugin-auth/blob/v1.7.5/src/commands/auth/sfdxurl/store.ts)_
|
|
367
367
|
|
|
368
368
|
## `sfdx auth:web:login [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
369
369
|
|
|
@@ -371,7 +371,7 @@ authorize an org using the web login flow
|
|
|
371
371
|
|
|
372
372
|
```
|
|
373
373
|
authorize an org using the web login flow
|
|
374
|
-
If 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://
|
|
374
|
+
If 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.
|
|
375
375
|
|
|
376
376
|
USAGE
|
|
377
377
|
$ sfdx auth:web:login [-i <string>] [-r <url>] [-d] [-s] [-a <string>] [--json] [--loglevel
|
|
@@ -403,7 +403,7 @@ OPTIONS
|
|
|
403
403
|
DESCRIPTION
|
|
404
404
|
If you specify an --instanceurl value, this value overrides the sfdcLoginUrl value in your sfdx-project.json file. To
|
|
405
405
|
specify a My Domain URL, use the format MyDomainName.my.salesforce.com (not MyDomainName.lightning.force.com). To log
|
|
406
|
-
in to a sandbox, set --instanceurl to https://
|
|
406
|
+
in to a sandbox, set --instanceurl to https://MyDomainName--SandboxName.sandbox.my.salesforce.com.
|
|
407
407
|
|
|
408
408
|
ALIASES
|
|
409
409
|
$ sfdx force:auth:web:login
|
|
@@ -411,8 +411,8 @@ ALIASES
|
|
|
411
411
|
EXAMPLES
|
|
412
412
|
sfdx auth:web:login -a TestOrg1
|
|
413
413
|
sfdx auth:web:login -i <OAuth client id>
|
|
414
|
-
sfdx auth:web:login -r https://
|
|
414
|
+
sfdx auth:web:login -r https://MyDomainName--SandboxName.sandbox.my.salesforce.com
|
|
415
415
|
```
|
|
416
416
|
|
|
417
|
-
_See code: [src/commands/auth/web/login.ts](https://github.com/salesforcecli/plugin-auth/blob/v1.7.
|
|
417
|
+
_See code: [src/commands/auth/web/login.ts](https://github.com/salesforcecli/plugin-auth/blob/v1.7.5/src/commands/auth/web/login.ts)_
|
|
418
418
|
<!-- commandsstop -->
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"examples": [
|
|
4
4
|
"sfdx auth:device:login -d -a TestOrg1",
|
|
5
5
|
"sfdx auth:device:login -i <OAuth client id>",
|
|
6
|
-
"sfdx auth:device:login -r https://
|
|
6
|
+
"sfdx auth:device:login -r https://MyDomainName--SandboxName.sandbox.my.salesforce.com"
|
|
7
7
|
],
|
|
8
8
|
"actionRequired": "Action Required!",
|
|
9
9
|
"enterCode": "Enter %s user code in the verification URL %s",
|
package/messages/jwt.grant.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"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://
|
|
2
|
+
"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.",
|
|
3
3
|
"examples": [
|
|
4
4
|
"sfdx auth:jwt:grant -u me@my.org -f <path to jwt key file> -i <OAuth client id>",
|
|
5
5
|
"sfdx auth:jwt:grant -u me@my.org -f <path to jwt key file> -i <OAuth client id> -s -a MyDefaultOrg",
|
package/messages/web.login.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"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://
|
|
2
|
+
"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.",
|
|
3
3
|
"examples": [
|
|
4
4
|
"sfdx auth:web:login -a TestOrg1",
|
|
5
5
|
"sfdx auth:web:login -i <OAuth client id>",
|
|
6
|
-
"sfdx auth:web:login -r https://
|
|
6
|
+
"sfdx auth:web:login -r https://MyDomainName--SandboxName.sandbox.my.salesforce.com"
|
|
7
7
|
],
|
|
8
8
|
"deviceWarning": "auth:web:login doesn't work when authorizing to a headless environment. Use auth:device:login instead.",
|
|
9
9
|
"invalidClientId": "Invalid client credentials. Verify the OAuth client secret and ID. %s"
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.7.5","commands":{"auth:list":{"id":"auth:list","description":"list auth connection information","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@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)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[]},"auth:logout":{"id":"auth:logout","description":"log out from authorized orgs\nBy default, this command logs you out from your default scratch org.","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"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":[]},"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>\"","usage":"<%= command.id %> -r <url> [-s] [-s] [-a <string>] [-p] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@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)","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},"setdefaultdevhubusername":{"name":"setdefaultdevhubusername","type":"boolean","char":"s","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"},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for confirmation","required":false,"allowNo":false}},"args":[]},"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.","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","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://test.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)","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)"},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"the login URL of the instance the org lives on"},"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"},"disablemasking":{"name":"disablemasking","type":"boolean","description":"disable masking of user input (for use with problematic terminals)","hidden":true,"allowNo":false}},"args":[]},"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://test.salesforce.com.","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","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)","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},"jwtkeyfile":{"name":"jwtkeyfile","type":"option","char":"f","description":"path to a file containing the private key","required":true},"clientid":{"name":"clientid","type":"option","char":"i","description":"OAuth client ID (sometimes called the consumer key)","required":true},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"the login URL of the instance the org lives on"},"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"},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for auth confirmation in demo mode","hidden":true,"required":false,"allowNo":false}},"args":[]},"auth:sfdxurl:store":{"id":"auth:sfdxurl:store","description":"Authorize an org using an SFDX auth URL\nAuthorize a Salesforce org using an SFDX auth URL stored within a file. The URL must have the format \"force://<refreshToken>@<instanceUrl>\" or \"force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>\".\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.\nFor example, using an org you have already authorized:\n\n $ sfdx force:org:display -u <DevHub> --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.\nYou can also create a JSON file that has a top-level property named sfdxAuthUrl whose value is the auth URL.\nFinally, you can create a normal text file that includes just the URL and nothing else.","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","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)","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},"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"},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for auth confirmation in demo mode","hidden":true,"required":false,"allowNo":false}},"args":[]},"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://test.salesforce.com.","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","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://test.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)","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)"},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"the login URL of the instance the org lives on"},"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"},"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":[]}}}
|
|
1
|
+
{"version":"1.7.6","commands":{"auth:list":{"id":"auth:list","description":"list auth connection information","usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@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)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[]},"auth:logout":{"id":"auth:logout","description":"log out from authorized orgs\nBy default, this command logs you out from your default scratch org.","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"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":[]},"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>\"","usage":"<%= command.id %> -r <url> [-s] [-s] [-a <string>] [-p] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@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)","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},"setdefaultdevhubusername":{"name":"setdefaultdevhubusername","type":"boolean","char":"s","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"},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for confirmation","required":false,"allowNo":false}},"args":[]},"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.","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","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)","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)"},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"the login URL of the instance the org lives on"},"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"},"disablemasking":{"name":"disablemasking","type":"boolean","description":"disable masking of user input (for use with problematic terminals)","hidden":true,"allowNo":false}},"args":[]},"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.","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","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)","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},"jwtkeyfile":{"name":"jwtkeyfile","type":"option","char":"f","description":"path to a file containing the private key","required":true},"clientid":{"name":"clientid","type":"option","char":"i","description":"OAuth client ID (sometimes called the consumer key)","required":true},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"the login URL of the instance the org lives on"},"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"},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for auth confirmation in demo mode","hidden":true,"required":false,"allowNo":false}},"args":[]},"auth:sfdxurl:store":{"id":"auth:sfdxurl:store","description":"Authorize an org using an SFDX auth URL\nAuthorize a Salesforce org using an SFDX auth URL stored within a file. The URL must have the format \"force://<refreshToken>@<instanceUrl>\" or \"force://<clientId>:<clientSecret>:<refreshToken>@<instanceUrl>\".\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.\nFor example, using an org you have already authorized:\n\n $ sfdx force:org:display -u <DevHub> --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.\nYou can also create a JSON file that has a top-level property named sfdxAuthUrl whose value is the auth URL.\nFinally, you can create a normal text file that includes just the URL and nothing else.","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","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)","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},"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"},"noprompt":{"name":"noprompt","type":"boolean","char":"p","description":"do not prompt for auth confirmation in demo mode","hidden":true,"required":false,"allowNo":false}},"args":[]},"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.","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","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)","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)"},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"the login URL of the instance the org lives on"},"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"},"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":[]}}}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-auth",
|
|
3
3
|
"description": "plugin for sfdx auth commands",
|
|
4
|
-
"version": "1.7.
|
|
4
|
+
"version": "1.7.6",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"eslint-config-salesforce-license": "^0.1.6",
|
|
37
37
|
"eslint-config-salesforce-typescript": "^0.2.7",
|
|
38
38
|
"eslint-plugin-header": "^3.0.0",
|
|
39
|
-
"eslint-plugin-import": "2.
|
|
39
|
+
"eslint-plugin-import": "2.25.2",
|
|
40
40
|
"eslint-plugin-jsdoc": "^35.1.2",
|
|
41
41
|
"eslint-plugin-prettier": "^3.4.0",
|
|
42
42
|
"husky": "^4.3.8",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"access": "public"
|
|
139
139
|
},
|
|
140
140
|
"sfdx": {
|
|
141
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/1.7.
|
|
142
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/1.7.
|
|
141
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/1.7.6.crt",
|
|
142
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-auth/1.7.6.sig"
|
|
143
143
|
}
|
|
144
144
|
}
|