@salesforce/plugin-auth 3.5.3 → 3.5.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.
- package/README.md +7 -7
- package/lib/commands/org/login/device.d.ts +1 -2
- package/lib/commands/org/login/device.js +1 -1
- package/lib/commands/org/login/device.js.map +1 -1
- package/npm-shrinkwrap.json +449 -1122
- package/oclif.lock +146 -317
- package/oclif.manifest.json +1 -1
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -108,7 +108,7 @@ EXAMPLES
|
|
|
108
108
|
$ sf org list auth
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
-
_See code: [src/commands/org/list/auth.ts](https://github.com/salesforcecli/plugin-auth/blob/3.5.
|
|
111
|
+
_See code: [src/commands/org/list/auth.ts](https://github.com/salesforcecli/plugin-auth/blob/3.5.5/src/commands/org/list/auth.ts)_
|
|
112
112
|
|
|
113
113
|
## `sf org login access-token`
|
|
114
114
|
|
|
@@ -162,7 +162,7 @@ FLAG DESCRIPTIONS
|
|
|
162
162
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
163
163
|
```
|
|
164
164
|
|
|
165
|
-
_See code: [src/commands/org/login/access-token.ts](https://github.com/salesforcecli/plugin-auth/blob/3.5.
|
|
165
|
+
_See code: [src/commands/org/login/access-token.ts](https://github.com/salesforcecli/plugin-auth/blob/3.5.5/src/commands/org/login/access-token.ts)_
|
|
166
166
|
|
|
167
167
|
## `sf org login device`
|
|
168
168
|
|
|
@@ -222,7 +222,7 @@ FLAG DESCRIPTIONS
|
|
|
222
222
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
223
223
|
```
|
|
224
224
|
|
|
225
|
-
_See code: [src/commands/org/login/device.ts](https://github.com/salesforcecli/plugin-auth/blob/3.5.
|
|
225
|
+
_See code: [src/commands/org/login/device.ts](https://github.com/salesforcecli/plugin-auth/blob/3.5.5/src/commands/org/login/device.ts)_
|
|
226
226
|
|
|
227
227
|
## `sf org login jwt`
|
|
228
228
|
|
|
@@ -313,7 +313,7 @@ FLAG DESCRIPTIONS
|
|
|
313
313
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
314
314
|
```
|
|
315
315
|
|
|
316
|
-
_See code: [src/commands/org/login/jwt.ts](https://github.com/salesforcecli/plugin-auth/blob/3.5.
|
|
316
|
+
_See code: [src/commands/org/login/jwt.ts](https://github.com/salesforcecli/plugin-auth/blob/3.5.5/src/commands/org/login/jwt.ts)_
|
|
317
317
|
|
|
318
318
|
## `sf org login sfdx-url`
|
|
319
319
|
|
|
@@ -379,7 +379,7 @@ EXAMPLES
|
|
|
379
379
|
$ echo url | sf org login sfdx-url --sfdx-url-stdin
|
|
380
380
|
```
|
|
381
381
|
|
|
382
|
-
_See code: [src/commands/org/login/sfdx-url.ts](https://github.com/salesforcecli/plugin-auth/blob/3.5.
|
|
382
|
+
_See code: [src/commands/org/login/sfdx-url.ts](https://github.com/salesforcecli/plugin-auth/blob/3.5.5/src/commands/org/login/sfdx-url.ts)_
|
|
383
383
|
|
|
384
384
|
## `sf org login web`
|
|
385
385
|
|
|
@@ -466,7 +466,7 @@ FLAG DESCRIPTIONS
|
|
|
466
466
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
467
467
|
```
|
|
468
468
|
|
|
469
|
-
_See code: [src/commands/org/login/web.ts](https://github.com/salesforcecli/plugin-auth/blob/3.5.
|
|
469
|
+
_See code: [src/commands/org/login/web.ts](https://github.com/salesforcecli/plugin-auth/blob/3.5.5/src/commands/org/login/web.ts)_
|
|
470
470
|
|
|
471
471
|
## `sf org logout`
|
|
472
472
|
|
|
@@ -527,6 +527,6 @@ FLAG DESCRIPTIONS
|
|
|
527
527
|
All orgs includes Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs.
|
|
528
528
|
```
|
|
529
529
|
|
|
530
|
-
_See code: [src/commands/org/logout.ts](https://github.com/salesforcecli/plugin-auth/blob/3.5.
|
|
530
|
+
_See code: [src/commands/org/logout.ts](https://github.com/salesforcecli/plugin-auth/blob/3.5.5/src/commands/org/logout.ts)_
|
|
531
531
|
|
|
532
532
|
<!-- commandsstop -->
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
-
import { AuthFields } from '@salesforce/core';
|
|
2
|
+
import { type AuthFields, type DeviceCodeResponse } from '@salesforce/core';
|
|
3
3
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
4
|
-
import { DeviceCodeResponse } from '@salesforce/core/lib/deviceOauthService.js';
|
|
5
4
|
export type DeviceLoginResult = (AuthFields & DeviceCodeResponse) | Record<string, never>;
|
|
6
5
|
export default class LoginDevice extends SfCommand<DeviceLoginResult> {
|
|
7
6
|
static readonly summary: string;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under the BSD 3-Clause license.
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
|
-
import { AuthInfo, DeviceOauthService, Messages } from '@salesforce/core';
|
|
7
|
+
import { AuthInfo, DeviceOauthService, Messages, } from '@salesforce/core';
|
|
8
8
|
import { Flags, SfCommand, loglevel } from '@salesforce/sf-plugins-core';
|
|
9
9
|
import { ux } from '@oclif/core';
|
|
10
10
|
import common from '../../../common.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device.js","sourceRoot":"","sources":["../../../../src/commands/org/login/device.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"device.js","sourceRoot":"","sources":["../../../../src/commands/org/login/device.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAEL,QAAQ,EACR,kBAAkB,EACl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