<clear> Element for authenticationModules (Network Settings)
Clears all authentication modules from the application.
<configuration>
<system.net>
<authenticationModules>
<clear>
Syntax
<clear/>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
None.
Parent Elements
Element | Description |
---|---|
authenticationModules | Specifies modules used to authenticate network requests. |
Remarks
The clear
element removes all authentication modules that were defined earlier in the configuration file or at a higher level in the configuration hierarchy.
Configuration Files
This element can be used in the application configuration file or the machine configuration file (Machine.config).
Example
The following example removes all configured authentication modules.
<configuration>
<system.net>
<authenticationModules>
<clear/>
</authenticationModules>
</system.net>
</configuration>
See also
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.