Name

AuthenticationMode

Synopsis

This enumeration allows you to specify a type of ASP.NET authentication. It is not used in ASP.NET code, but in the web.config file by the mode attribute in the authentication tag (for example, <authentication mode="Forms">). The authentication mode you select determines which HttpModule from the System.Web.Security namespace is used to validate a user’s credentials.

Public Enum AuthenticationMode
                  None = 0
                  Windows = 1
                  Passport = 2
                  Forms = 3
End Enum

Hierarchy

System.ObjectSystem.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) AuthenticationMode

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.