This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Npm.
Summary
Force npm to always require authentication when accessing the registry, even for GET requests.
- Assembly
- Cake
.Npm .dll - Namespace
- Cake
.Npm .AddUser - Containing Type
- Npm
Add User Settings Extensions
Syntax
public static NpmAddUserSettings AlwaysAuthenticate(this NpmAddUserSettings settings)
Parameters
Name | Type | Description |
---|---|---|
settings | NpmAddUserSettings | The settings. |
Return Value
Type | Description |
---|---|
NpmAddUserSettings | The NpmAddUserSettings instance with AlwaysAuth set to true. |