├── .editorconfig ├── .eslintignore ├── .eslintrc.cjs ├── .git2gus └── config.json ├── .github ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml └── workflows │ ├── automerge.yml │ ├── create-github-release.yml │ ├── devScripts.yml │ ├── failureNotifications.yml │ ├── notify-slack-on-pr-open.yml │ ├── onRelease.yml │ ├── test.yml │ └── validate-pr.yml ├── .gitignore ├── .husky ├── commit-msg ├── pre-commit └── pre-push ├── .images └── vscodeScreenshot.png ├── .lintstagedrc.cjs ├── .mocharc.json ├── .nycrc ├── .prettierrc.json ├── .vscode └── launch.json ├── CHANGELOG.md ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── LICENSE.txt ├── README.md ├── SECURITY.md ├── bin ├── dev.cmd ├── dev.js ├── run.cmd └── run.js ├── command-snapshot.json ├── commitlint.config.cjs ├── messages ├── accesstoken.store.md ├── device.login.md ├── diagnostics.md ├── jwt.grant.md ├── list.md ├── logout.md ├── messages.md ├── sfdxurl.store.md └── web.login.md ├── package.json ├── schemas ├── org-list-auth.json ├── org-login-access__token.json ├── org-login-device.json ├── org-login-jwt.json ├── org-login-sfdx__url.json ├── org-login-web.json └── org-logout.json ├── src ├── commands │ └── org │ │ ├── list │ │ └── auth.ts │ │ ├── login │ │ ├── access-token.ts │ │ ├── device.ts │ │ ├── jwt.ts │ │ ├── sfdx-url.ts │ │ └── web.ts │ │ └── logout.ts ├── common.ts ├── hooks │ └── diagnostics.ts └── index.ts ├── test ├── .eslintrc.cjs ├── commands │ ├── 0-scratch-identify.nut.ts │ └── org │ │ ├── list │ │ ├── auth.nut.ts │ │ └── auth.test.ts │ │ ├── login │ │ ├── access-token.nut.ts │ │ ├── access-token.test.ts │ │ ├── login.device.test.ts │ │ ├── login.jwt.nut.ts │ │ ├── login.jwt.test.ts │ │ ├── login.sfdx-url.nut.ts │ │ ├── login.sfdx-url.test.ts │ │ └── login.web.test.ts │ │ ├── logout.nut.ts │ │ └── logout.test.ts ├── common.test.ts ├── hooks │ └── diagnostics.test.ts ├── testHelper.ts └── tsconfig.json ├── tsconfig.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | *.cjs/ 2 | -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.git2gus/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.git2gus/config.json -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/automerge.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.github/workflows/automerge.yml -------------------------------------------------------------------------------- /.github/workflows/create-github-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.github/workflows/create-github-release.yml -------------------------------------------------------------------------------- /.github/workflows/devScripts.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.github/workflows/devScripts.yml -------------------------------------------------------------------------------- /.github/workflows/failureNotifications.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.github/workflows/failureNotifications.yml -------------------------------------------------------------------------------- /.github/workflows/notify-slack-on-pr-open.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.github/workflows/notify-slack-on-pr-open.yml -------------------------------------------------------------------------------- /.github/workflows/onRelease.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.github/workflows/onRelease.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.github/workflows/validate-pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.github/workflows/validate-pr.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | yarn commitlint --edit 5 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.husky/pre-push -------------------------------------------------------------------------------- /.images/vscodeScreenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.images/vscodeScreenshot.png -------------------------------------------------------------------------------- /.lintstagedrc.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | '**/*.{js,json,md}?(x)': () => 'npm run reformat' 3 | }; 4 | -------------------------------------------------------------------------------- /.mocharc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.mocharc.json -------------------------------------------------------------------------------- /.nycrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.nycrc -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | "@salesforce/prettier-config" 2 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/SECURITY.md -------------------------------------------------------------------------------- /bin/dev.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/bin/dev.cmd -------------------------------------------------------------------------------- /bin/dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/bin/dev.js -------------------------------------------------------------------------------- /bin/run.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | node "%~dp0\run" %* -------------------------------------------------------------------------------- /bin/run.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/bin/run.js -------------------------------------------------------------------------------- /command-snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/command-snapshot.json -------------------------------------------------------------------------------- /commitlint.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { extends: ['@commitlint/config-conventional'] }; 2 | -------------------------------------------------------------------------------- /messages/accesstoken.store.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/messages/accesstoken.store.md -------------------------------------------------------------------------------- /messages/device.login.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/messages/device.login.md -------------------------------------------------------------------------------- /messages/diagnostics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/messages/diagnostics.md -------------------------------------------------------------------------------- /messages/jwt.grant.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/messages/jwt.grant.md -------------------------------------------------------------------------------- /messages/list.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/messages/list.md -------------------------------------------------------------------------------- /messages/logout.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/messages/logout.md -------------------------------------------------------------------------------- /messages/messages.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/messages/messages.md -------------------------------------------------------------------------------- /messages/sfdxurl.store.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/messages/sfdxurl.store.md -------------------------------------------------------------------------------- /messages/web.login.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/messages/web.login.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/package.json -------------------------------------------------------------------------------- /schemas/org-list-auth.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/schemas/org-list-auth.json -------------------------------------------------------------------------------- /schemas/org-login-access__token.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/schemas/org-login-access__token.json -------------------------------------------------------------------------------- /schemas/org-login-device.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/schemas/org-login-device.json -------------------------------------------------------------------------------- /schemas/org-login-jwt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/schemas/org-login-jwt.json -------------------------------------------------------------------------------- /schemas/org-login-sfdx__url.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/schemas/org-login-sfdx__url.json -------------------------------------------------------------------------------- /schemas/org-login-web.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/schemas/org-login-web.json -------------------------------------------------------------------------------- /schemas/org-logout.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/schemas/org-logout.json -------------------------------------------------------------------------------- /src/commands/org/list/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/src/commands/org/list/auth.ts -------------------------------------------------------------------------------- /src/commands/org/login/access-token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/src/commands/org/login/access-token.ts -------------------------------------------------------------------------------- /src/commands/org/login/device.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/src/commands/org/login/device.ts -------------------------------------------------------------------------------- /src/commands/org/login/jwt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/src/commands/org/login/jwt.ts -------------------------------------------------------------------------------- /src/commands/org/login/sfdx-url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/src/commands/org/login/sfdx-url.ts -------------------------------------------------------------------------------- /src/commands/org/login/web.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/src/commands/org/login/web.ts -------------------------------------------------------------------------------- /src/commands/org/logout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/src/commands/org/logout.ts -------------------------------------------------------------------------------- /src/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/src/common.ts -------------------------------------------------------------------------------- /src/hooks/diagnostics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/src/hooks/diagnostics.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/src/index.ts -------------------------------------------------------------------------------- /test/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/.eslintrc.cjs -------------------------------------------------------------------------------- /test/commands/0-scratch-identify.nut.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/commands/0-scratch-identify.nut.ts -------------------------------------------------------------------------------- /test/commands/org/list/auth.nut.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/commands/org/list/auth.nut.ts -------------------------------------------------------------------------------- /test/commands/org/list/auth.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/commands/org/list/auth.test.ts -------------------------------------------------------------------------------- /test/commands/org/login/access-token.nut.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/commands/org/login/access-token.nut.ts -------------------------------------------------------------------------------- /test/commands/org/login/access-token.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/commands/org/login/access-token.test.ts -------------------------------------------------------------------------------- /test/commands/org/login/login.device.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/commands/org/login/login.device.test.ts -------------------------------------------------------------------------------- /test/commands/org/login/login.jwt.nut.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/commands/org/login/login.jwt.nut.ts -------------------------------------------------------------------------------- /test/commands/org/login/login.jwt.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/commands/org/login/login.jwt.test.ts -------------------------------------------------------------------------------- /test/commands/org/login/login.sfdx-url.nut.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/commands/org/login/login.sfdx-url.nut.ts -------------------------------------------------------------------------------- /test/commands/org/login/login.sfdx-url.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/commands/org/login/login.sfdx-url.test.ts -------------------------------------------------------------------------------- /test/commands/org/login/login.web.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/commands/org/login/login.web.test.ts -------------------------------------------------------------------------------- /test/commands/org/logout.nut.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/commands/org/logout.nut.ts -------------------------------------------------------------------------------- /test/commands/org/logout.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/commands/org/logout.test.ts -------------------------------------------------------------------------------- /test/common.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/common.test.ts -------------------------------------------------------------------------------- /test/hooks/diagnostics.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/hooks/diagnostics.test.ts -------------------------------------------------------------------------------- /test/testHelper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/testHelper.ts -------------------------------------------------------------------------------- /test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/test/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/salesforcecli/plugin-auth/HEAD/yarn.lock --------------------------------------------------------------------------------