-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge pull request #627 from salesforcecli/revert-616-phale/r…
…estructure-auth" This reverts commit abf4e61, reversing changes made to fdb40ee. # Conflicts: # src/commands/org/login/access-token.ts # src/commands/org/login/web.ts # test/commands/org/login/login.web.test.ts # yarn.lock
- Loading branch information
1 parent
455f601
commit 4bad5b3
Showing
38 changed files
with
1,030 additions
and
481 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
# summary | ||
|
||
List auth connection information | ||
List authorization information about the orgs you created or logged into. | ||
|
||
# description | ||
|
||
list auth connection information | ||
This command uses local authorization information that Salesforce CLI caches when you create a scratch org or log into an org. The command doesn't actually connect to the orgs to verify that they're still active. As a result, this command executes very quickly. If you want to view live information about your authorized orgs, such as their connection status, use the "org list" command. | ||
|
||
# examples | ||
|
||
- $ <%= config.bin %> <%= command.id %> | ||
- List local authorization information about your orgs: | ||
|
||
<%= config.bin %> <%= command.id %> | ||
|
||
# noResultsFound | ||
|
||
No results found | ||
No results found. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,81 @@ | ||
# summary | ||
|
||
log out from authorized orgs | ||
Log out of a Salesforce org. | ||
|
||
# description | ||
|
||
log out from authorized orgs | ||
By default, this command logs you out from your default scratch org. | ||
If you run this command with no flags, it first displays a list of orgs you've created or logged into, with none of the orgs selected. Use the arrow keys to scroll through the list and the space bar to select the orgs you want to log out of. Press Enter when you're done; the command asks for a final confirmation before logging out of the selected orgs. | ||
|
||
The process is similar if you specify --all, except that in the initial list of orgs, they're all selected. Use --target-org to logout of a specific org. In both these cases by default, you must still confirm that you want to log out. Use --no-prompt to never be asked for confirmation when also using --all or --target-org. | ||
|
||
Be careful! If you log out of a scratch org without having access to its password, you can't access the scratch org again, either through the CLI or the Salesforce UI. | ||
|
||
# examples | ||
|
||
- $ <%= config.bin %> <%= command.id %> -o me@my.org | ||
- Interactively select the orgs to log out of: | ||
|
||
- $ <%= config.bin %> <%= command.id %> -a | ||
<%= config.bin %> <%= command.id %> | ||
|
||
- $ <%= config.bin %> <%= command.id %> -p | ||
- Log out of the org with username me@my.org: | ||
|
||
# flags.target-org.summary | ||
<%= config.bin %> <%= command.id %> --target-org me@my.org | ||
|
||
Username or alias of the target org. | ||
- Log out of all orgs after confirmation: | ||
|
||
<%= config.bin %> <%= command.id %> --all | ||
|
||
# all | ||
- Logout of the org with alias my-scratch and don't prompt for confirmation: | ||
|
||
include all authenticated orgs | ||
<%= config.bin %> <%= command.id %> --target-org my-scratch --no-prompt | ||
|
||
# allLong | ||
# flags.target-org.summary | ||
|
||
Includes all authenticated orgs: for example, Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs. | ||
Username or alias of the target org. | ||
|
||
# logoutCommandYesNo | ||
# flags.all.summary | ||
|
||
Are you sure you want to log out from these org(s)? | ||
%s | ||
Include all authenticated orgs. | ||
|
||
Important: You need a password to reauthorize scratch orgs. By default, scratch orgs have no password. If you still need your scratch orgs, run "%s org:generate:password" before logging out. If you don't need the scratch orgs anymore, run "%s org:delete:scratch" or "%s org:delete:sandbox"instead of logging out. | ||
# flags.all.description | ||
|
||
Log out? | ||
All orgs includes Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs. | ||
|
||
# logoutOrgCommandSuccess | ||
|
||
Successfully logged out of orgs: %s | ||
|
||
# logoutOrgCommandNoOrgsFound | ||
# noOrgsFound | ||
|
||
No orgs found to log out of. | ||
|
||
# noOrgsSelected | ||
|
||
No orgs selected for logout. | ||
|
||
# prompt.select-envs | ||
|
||
Select the orgs you want to log out of: | ||
|
||
# prompt.confirm | ||
|
||
Are you sure you want to log out of %d org%s? | ||
|
||
# prompt.confirm-all | ||
|
||
Are you sure you want to log out of all your orgs? | ||
|
||
# prompt.confirm.single | ||
|
||
Are you sure you want to log out of %s? | ||
|
||
# warning | ||
|
||
Warning: If you log out of a scratch org without having access to its password, you can't access this org again, either through the CLI or the Salesforce UI. | ||
|
||
# noOrgSpecifiedWithNoPrompt | ||
|
||
You must specify a target-org (or default target-org config is set) or use --all flag when using the --no-prompt flag. | ||
|
||
# noOrgSpecifiedWithJson | ||
|
||
You must specify a target-org (or default target-org config is set) or use --all flag when using the --json flag. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.