ConfigurationExtensions.

SetAuthentication(Configuration, string, string, string, AuthenticationSettings, ICakeLog) Method

Summary

Sets the authentication settings for the site.
Assembly
Cake.IIS.dll
Namespace
Cake.IIS
Containing Type
ConfigurationExtensions

Syntax

public static Configuration SetAuthentication(this Configuration config, string serverType, string site, string appPath, AuthenticationSettings settings, ICakeLog log)

Parameters

Name Type Description
config Configuration The config object to adjust.
serverType string The type of the server.
site string The name of the site.
appPath string The application path.
settings AuthenticationSettings The authentication settings.
log ICakeLog ICakeLog.

Return Value

Type Description
Configuration