NpmAddUserSettingsExtensions.

AlwaysAuthenticate(NpmAddUserSettings) Method

Summary

Force npm to always require authentication when accessing the registry, even for GET requests.

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.
GitHub
Discussion