Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 107d6be

Browse files
committed
CLI documentation update from CI
1 parent cd75cb2 commit 107d6be

File tree

3 files changed

+18
-20
lines changed

3 files changed

+18
-20
lines changed

cli/v8

Submodule v8 updated 38 files

content/cli/v8/commands/npm-adduser.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,12 @@ npm init --scope=@foo --yes
103103
#### `auth-type`
104104

105105
* Default: "legacy"
106-
* Type: "legacy", "webauthn", "sso", "saml", or "oauth"
107-
* DEPRECATED: The SSO/SAML/OAuth methods are deprecated and will be removed in
108-
a future version of npm in favor of web-based login.
106+
* Type: "legacy", "web", "sso", "saml", "oauth", or "webauthn"
109107

110-
What authentication strategy to use with `adduser`/`login`.
108+
NOTE: auth-type values "sso", "saml", "oauth", and "webauthn" will be
109+
removed in a future version.
111110

112-
Pass `webauthn` to use a web-based login.
111+
What authentication strategy to use with `login`.
113112

114113
<!-- automatically generated, do not edit manually -->
115114
<!-- see lib/utils/config/definitions.js -->

content/cli/v8/using-npm/config.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,19 @@ exit code.
223223
<!-- automatically generated, do not edit manually -->
224224
<!-- see lib/utils/config/definitions.js -->
225225

226+
#### `auth-type`
227+
228+
* Default: "legacy"
229+
* Type: "legacy", "web", "sso", "saml", "oauth", or "webauthn"
230+
231+
NOTE: auth-type values "sso", "saml", "oauth", and "webauthn" will be
232+
removed in a future version.
233+
234+
What authentication strategy to use with `login`.
235+
236+
<!-- automatically generated, do not edit manually -->
237+
<!-- see lib/utils/config/definitions.js -->
238+
226239
#### `before`
227240

228241
* Default: null
@@ -1913,20 +1926,6 @@ When set to `dev` or `development`, this is an alias for `--include=dev`.
19131926
<!-- automatically generated, do not edit manually -->
19141927
<!-- see lib/utils/config/definitions.js -->
19151928

1916-
#### `auth-type`
1917-
1918-
* Default: "legacy"
1919-
* Type: "legacy", "webauthn", "sso", "saml", or "oauth"
1920-
* DEPRECATED: The SSO/SAML/OAuth methods are deprecated and will be removed in
1921-
a future version of npm in favor of web-based login.
1922-
1923-
What authentication strategy to use with `adduser`/`login`.
1924-
1925-
Pass `webauthn` to use a web-based login.
1926-
1927-
<!-- automatically generated, do not edit manually -->
1928-
<!-- see lib/utils/config/definitions.js -->
1929-
19301929
#### `cache-max`
19311930

19321931
* Default: Infinity

0 commit comments

Comments
 (0)