Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Møller Ellehauge <jumoel@github.com>2022-07-12 22:55:00 +0300
committerGitHub <noreply@github.com>2022-07-12 22:55:00 +0300
commite8102c1aae65a18e41253fbcdffe2eff0bedae53 (patch)
tree6aa044c12a43848efc40615e41ee35274bc0dd8f /tap-snapshots/test
parentd3791e6eafab51aab16bb2f3e2d2c566b77df5cf (diff)
feat: Add `web` auth type (#5076)
Diffstat (limited to 'tap-snapshots/test')
-rw-r--r--tap-snapshots/test/lib/load-all-commands.js.test.cjs4
-rw-r--r--tap-snapshots/test/lib/npm.js.test.cjs4
-rw-r--r--tap-snapshots/test/lib/utils/config/definitions.js.test.cjs8
-rw-r--r--tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs8
4 files changed, 10 insertions, 14 deletions
diff --git a/tap-snapshots/test/lib/load-all-commands.js.test.cjs b/tap-snapshots/test/lib/load-all-commands.js.test.cjs
index ef832be1b..b697dfbb7 100644
--- a/tap-snapshots/test/lib/load-all-commands.js.test.cjs
+++ b/tap-snapshots/test/lib/load-all-commands.js.test.cjs
@@ -33,7 +33,7 @@ npm adduser
Options:
[--registry <registry>] [--scope <@scope>]
-[--auth-type <legacy|webauthn|sso|saml|oauth>]
+[--auth-type <legacy|web|sso|saml|oauth|webauthn>]
aliases: login, add-user
@@ -499,7 +499,7 @@ npm adduser
Options:
[--registry <registry>] [--scope <@scope>]
-[--auth-type <legacy|webauthn|sso|saml|oauth>]
+[--auth-type <legacy|web|sso|saml|oauth|webauthn>]
aliases: login, add-user
diff --git a/tap-snapshots/test/lib/npm.js.test.cjs b/tap-snapshots/test/lib/npm.js.test.cjs
index c87e947fc..3cdf37684 100644
--- a/tap-snapshots/test/lib/npm.js.test.cjs
+++ b/tap-snapshots/test/lib/npm.js.test.cjs
@@ -190,7 +190,7 @@ All commands:
Options:
[--registry <registry>] [--scope <@scope>]
- [--auth-type <legacy|webauthn|sso|saml|oauth>]
+ [--auth-type <legacy|web|sso|saml|oauth|webauthn>]
aliases: login, add-user
@@ -577,7 +577,7 @@ All commands:
Options:
[--registry <registry>] [--scope <@scope>]
- [--auth-type <legacy|webauthn|sso|saml|oauth>]
+ [--auth-type <legacy|web|sso|saml|oauth|webauthn>]
aliases: login, add-user
diff --git a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs
index 5a06f2c4b..04d304a22 100644
--- a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs
+++ b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs
@@ -253,14 +253,12 @@ exports[`test/lib/utils/config/definitions.js TAP > config description for auth-
#### \`auth-type\`
* Default: "legacy"
-* Type: "legacy", "webauthn", "sso", "saml", or "oauth"
+* Type: "legacy", "web", "sso", "saml", "oauth", or "webauthn"
-NOTE: auth-type values "sso", "saml", and "oauth" will be removed in a
-future version.
+NOTE: auth-type values "sso", "saml", "oauth", and "webauthn" will be
+removed in a future version.
What authentication strategy to use with \`login\`.
-
-Pass \`webauthn\` to use a web-based login.
`
exports[`test/lib/utils/config/definitions.js TAP > config description for before 1`] = `
diff --git a/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs
index a06f53012..a291af6de 100644
--- a/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs
+++ b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs
@@ -91,15 +91,13 @@ exit code.
#### \`auth-type\`
* Default: "legacy"
-* Type: "legacy", "webauthn", "sso", "saml", or "oauth"
+* Type: "legacy", "web", "sso", "saml", "oauth", or "webauthn"
-NOTE: auth-type values "sso", "saml", and "oauth" will be removed in a
-future version.
+NOTE: auth-type values "sso", "saml", "oauth", and "webauthn" will be
+removed in a future version.
What authentication strategy to use with \`login\`.
-Pass \`webauthn\` to use a web-based login.
-
<!-- automatically generated, do not edit manually -->
<!-- see lib/utils/config/definitions.js -->