NpmAddUserSettingsExtensions.

AlwaysAuthenticate(NpmAddUserSettings) Method

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
NpmAddUserSettingsExtensions

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.