System.Web.Configuration.PassportAuthentication Class

Configures Passport-based authentication in ASP.NET applications.

See Also: PassportAuthentication Members


public sealed class PassportAuthentication : System.Configuration.ConfigurationElement


The System.Web.Configuration.PassportAuthentication class allows you to access and configure a node in the Machine.config or Web.config configuration file identified by the passport tag.

This type is part of a group that includes the System.Web.Configuration.AuthenticationSection, System.Web.Configuration.FormsAuthenticationConfiguration, and System.Web.Configuration.AuthenticationMode types.


The System.Web.Configuration.PassportAuthentication class can write information into the related section of the configuration file at machine, site, or application level only. Any attempt to write in a configuration file at a different level in the hierarchy will result in an error message generated by the parser. You can use this class to read configuration information at any level in the hierarchy.


Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions:
Since: .NET 2.0