This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.IIS.
Summary
Sets the authentication settings for the site.
- Assembly
- Cake
.IIS .dll - Namespace
- Cake
.IIS - Containing Type
- Configuration
Extensions
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 | Authentication |
The authentication settings. |
| log | ICakeLog | ICakeLog. |
Return Value
| Type | Description |
|---|---|
| Configuration |
