NpmAddUserSettingsExtensions Class

Summary

Extensions for NpmAddUserSettings.
Assembly
Cake.Npm.dll
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

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin