Summary
Force npm to always require authentication when accessing the registry, even for GET requests.
- 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. |