NpmAddUserSettingsExtensions.

UsingAuthentication(NpmAddUserSettings, AuthType) Method

Summary

Defines the authentication strategy to use.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.AddUser
Containing Type
NpmAddUserSettingsExtensions

Syntax

public static NpmAddUserSettings UsingAuthentication(this NpmAddUserSettings settings, AuthType authType)

Parameters

Name Type Description
settings NpmAddUserSettings The settings.
authType AuthType The authentication type.

Return Value

Type Description
NpmAddUserSettings The NpmAddUserSettings instance with authType added to AuthType.