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 /docs/content
parentd3791e6eafab51aab16bb2f3e2d2c566b77df5cf (diff)
feat: Add `web` auth type (#5076)
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/commands/npm-adduser.md8
-rw-r--r--docs/content/using-npm/config.md8
2 files changed, 6 insertions, 10 deletions
diff --git a/docs/content/commands/npm-adduser.md b/docs/content/commands/npm-adduser.md
index aaa62e1b9..700aecb22 100644
--- a/docs/content/commands/npm-adduser.md
+++ b/docs/content/commands/npm-adduser.md
@@ -93,15 +93,13 @@ npm init --scope=@foo --yes
#### `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 -->
diff --git a/docs/content/using-npm/config.md b/docs/content/using-npm/config.md
index debb25636..ffbf9be05 100644
--- a/docs/content/using-npm/config.md
+++ b/docs/content/using-npm/config.md
@@ -218,15 +218,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 -->