Class Name Description
FormsAuthentication This is the primary class for interacting with the forms authentication infrastructure. It provides basic information about the configuration and allows you to create the ticket, set the cookie, and redirect from the login page to the originally requested page if the validation of credentials was successful.
FormsAuthenticationEventArgs This module raises an Authenticate event that you can catch. The event arguments passed are encapsulated in an instance of this class. It contains basic information about the authenticated user.
FormsAuthenticationTicket This class represents the user information that will be encrypted and stored in the authentication cookie.
FormsIdentity This class is an implementation of Identity that is specific to forms authentication. The key addition to the FormsIdentity class is the Ticket property, which exposes the authentication ticket. This allows you to store and retrieve additional information in the ticket.
FormsAuthenticationModule This is the core of the forms authentication infrastructure that establishes the security context and performs the automatic page redirects to the login page if necessary.

Table 1 Take Advantage of Forms Authentication You don’t work with ASP.NET’s forms authentication module directly. Instead, you work with the classes that comprise the System.Web.Security namespace . For most cases, you use the FormsAuthentication class and the FormsIdentity class, which represents a successfully authenticated user in your application. This table lists the class names and explains what they do.