NpmAddUserSettingsExtensions Class

Summary

Extensions for NpmAddUserSettings.
Namespace
Cake.Npm.AddUser
Base Types
  • object
graph BT Type-->Base0["object"] Type["NpmAddUserSettingsExtensions"] class Type type-node

Syntax

public static class NpmAddUserSettingsExtensions

Methods

Name Value Summary
AlwaysAuthenticate(NpmAddUserSettings) NpmAddUserSettings
Force npm to always require authentication when accessing the registry, even for GET requests.
static
ForRegistry(NpmAddUserSettings, Uri) NpmAddUserSettings
Instructs npm to add user for the given registry.
static
ForScope(NpmAddUserSettings, string) NpmAddUserSettings
Sets scope for credentials.
static
UsingAuthentication(NpmAddUserSettings, AuthType) NpmAddUserSettings
Defines the authentication strategy to use.
static
GitHub
Discussion