File tree 1 file changed +3
-12
lines changed
1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -581,9 +581,8 @@ See also [`opts.ca`](#opts-ca).
581
581
582
582
Time before a hanging request times out.
583
583
584
- ##### <a name =" opts-token " ></a > ` opts.token `
584
+ ##### <a name =" opts-authtoken " ></a > ` opts._authToken `
585
585
586
- * Alias: ` opts._authToken `
587
586
* Type: String
588
587
* Default: null
589
588
@@ -593,7 +592,7 @@ Can be scoped to a registry by using a "nerf dart" for that registry. That is:
593
592
594
593
```
595
594
{
596
- '//registry.npmjs.org/:token ': 't0k3nH34r'
595
+ '//registry.npmjs.org/:_authToken ': 't0k3nH34r'
597
596
}
598
597
```
599
598
@@ -610,7 +609,7 @@ User agent string to send in the `User-Agent` header.
610
609
* Default: null
611
610
612
611
Username used for basic authentication. For the more modern authentication
613
- method, please use the (more secure) [ ` opts.token ` ] ( #opts-token )
612
+ method, please use the (more secure) [ ` opts.authtoken ` ] ( #opts-authtoken )
614
613
615
614
Can optionally be scoped to a registry by using a "nerf dart" for that registry.
616
615
That is:
@@ -622,11 +621,3 @@ That is:
622
621
```
623
622
624
623
See also [ ` opts.password ` ] ( #opts-password )
625
-
626
- ##### <a name =" opts-auth " ></a > ` opts._auth `
627
-
628
- * Type: String
629
- * Default: null
630
-
631
- ** DEPRECATED ** This is a legacy authentication token supported only for
632
- compatibility. Please use [ ` opts.token ` ] ( #opts-token ) instead.
You can’t perform that action at this time.
0 commit comments