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
path: root/docs
diff options
context:
space:
mode:
authorNathan Fritz <fritzy@github.com>2022-07-12 02:47:40 +0300
committerGar <wraithgar@github.com>2022-07-12 21:34:35 +0300
commite58f02f5e8263bf86ae1f07a863098d445e6d0cd (patch)
tree333aba1e632c599b16ad37b1eff3d845d96bae5f /docs
parentc6c4ba3b62e2a0896a48329f4c7e13d9e44a2f80 (diff)
feat: warn on config --auth-type=sso/saml/oauth, undeprecate --auth-type
Diffstat (limited to 'docs')
-rw-r--r--docs/content/commands/npm-adduser.md7
-rw-r--r--docs/content/using-npm/config.md29
2 files changed, 19 insertions, 17 deletions
diff --git a/docs/content/commands/npm-adduser.md b/docs/content/commands/npm-adduser.md
index 9f7caeb9c..aaa62e1b9 100644
--- a/docs/content/commands/npm-adduser.md
+++ b/docs/content/commands/npm-adduser.md
@@ -94,10 +94,11 @@ npm init --scope=@foo --yes
* Default: "legacy"
* Type: "legacy", "webauthn", "sso", "saml", or "oauth"
-* DEPRECATED: The SSO/SAML/OAuth methods are deprecated and will be removed in
- a future version of npm in favor of web-based login.
-What authentication strategy to use with `adduser`/`login`.
+NOTE: auth-type values "sso", "saml", and "oauth" will be removed in a
+future version.
+
+What authentication strategy to use with `login`.
Pass `webauthn` to use a web-based login.
diff --git a/docs/content/using-npm/config.md b/docs/content/using-npm/config.md
index 3fb431402..debb25636 100644
--- a/docs/content/using-npm/config.md
+++ b/docs/content/using-npm/config.md
@@ -215,6 +215,21 @@ exit code.
<!-- automatically generated, do not edit manually -->
<!-- see lib/utils/config/definitions.js -->
+#### `auth-type`
+
+* Default: "legacy"
+* Type: "legacy", "webauthn", "sso", "saml", or "oauth"
+
+NOTE: auth-type values "sso", "saml", and "oauth" 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 -->
+
#### `before`
* Default: null
@@ -1905,20 +1920,6 @@ When set to `dev` or `development`, this is an alias for `--include=dev`.
<!-- automatically generated, do not edit manually -->
<!-- see lib/utils/config/definitions.js -->
-#### `auth-type`
-
-* Default: "legacy"
-* Type: "legacy", "webauthn", "sso", "saml", or "oauth"
-* DEPRECATED: The SSO/SAML/OAuth methods are deprecated and will be removed in
- a future version of npm in favor of web-based login.
-
-What authentication strategy to use with `adduser`/`login`.
-
-Pass `webauthn` to use a web-based login.
-
-<!-- automatically generated, do not edit manually -->
-<!-- see lib/utils/config/definitions.js -->
-
#### `cache-max`
* Default: Infinity