-
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.
Merge pull request #627 from salesforcecli/revert-616-phale/restructu…
…re-auth Revert "feat: restructure plugin-auth"
- Loading branch information
Showing
39 changed files
with
1,064 additions
and
1,427 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,17 +1,15 @@ | ||
# summary | ||
|
||
List authorization information about the orgs you created or logged into. | ||
List auth connection information | ||
|
||
# description | ||
|
||
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. | ||
list auth connection information | ||
|
||
# examples | ||
|
||
- List local authorization information about your orgs: | ||
|
||
<%= config.bin %> <%= command.id %> | ||
- $ <%= 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,81 +1,45 @@ | ||
# summary | ||
|
||
Log out of a Salesforce org. | ||
log out from authorized orgs | ||
|
||
# description | ||
|
||
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. | ||
log out from authorized orgs | ||
By default, this command logs you out from your default scratch org. | ||
|
||
# examples | ||
|
||
- Interactively select the orgs to log out of: | ||
|
||
<%= config.bin %> <%= command.id %> | ||
- $ <%= config.bin %> <%= command.id %> -o me@my.org | ||
|
||
- Log out of the org with username me@my.org: | ||
- $ <%= config.bin %> <%= command.id %> -a | ||
|
||
<%= config.bin %> <%= command.id %> --target-org me@my.org | ||
- $ <%= config.bin %> <%= command.id %> -p | ||
|
||
- Log out of all orgs after confirmation: | ||
# flags.target-org.summary | ||
|
||
<%= config.bin %> <%= command.id %> --all | ||
Username or alias of the target org. | ||
|
||
- Logout of the org with alias my-scratch and don't prompt for confirmation: | ||
# all | ||
|
||
<%= config.bin %> <%= command.id %> --target-org my-scratch --no-prompt | ||
include all authenticated orgs | ||
|
||
# flags.target-org.summary | ||
# allLong | ||
|
||
Username or alias of the target org. | ||
Includes all authenticated orgs: for example, Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs. | ||
|
||
# flags.all.summary | ||
# logoutCommandYesNo | ||
|
||
Include all authenticated orgs. | ||
Are you sure you want to log out from these org(s)? | ||
%s | ||
|
||
# flags.all.description | ||
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. | ||
|
||
All orgs includes Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs. | ||
Log out? | ||
|
||
# logoutOrgCommandSuccess | ||
|
||
Successfully logged out of orgs: %s | ||
|
||
# noOrgsFound | ||
# logoutOrgCommandNoOrgsFound | ||
|
||
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.