Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Clears all authentication modules from the application.
<configuration>
<system.net>
<authenticationModules>
<clear>
<clear/>
Remarks
The <clear> element removes all authentication modules from the application that were defined earlier in the configuration file or at a higher level in the configuration hierarchy.
Example
The following example removes all configured authentication modules and then adds a custom authentication module.
<configuration>
<system.net>
<authenticationModules>
<clear/>
<add type="MyAuthModule.dll, MyAuthModule" />
</authenticationModules>
</system.net>
</configuration>
Configuration File
This element can be used in the application configuration file, the machine configuration file (Machine.config), and the publisher policy file.