This documentation is archived and is not being maintained.
.NET Framework 1.1
The methods of the FormsAuthentication class are listed here. For a complete list of FormsAuthentication class members, see the FormsAuthentication Members topic.
|Authenticate||Attempts to validate the credentials against those contained in the configured credential store, given the supplied credentials.|
|Decrypt||Returns an instance of a FormsAuthenticationTicket class, given a valid encrypted authentication ticket obtained from an HTTP cookie.|
|Encrypt||Produces a string containing an encrypted authentication ticket suitable for use in an HTTP cookie, given a FormsAuthenticationTicket.|
|Equals (inherited from Object)||Overloaded. Determines whether two Object instances are equal.|
|GetAuthCookie||Overloaded. Creates an authentication cookie for a given user name.|
|GetHashCode (inherited from Object)||Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.|
|GetRedirectUrl||Returns the redirect URL for the original request that caused the redirect to the logon page.|
|GetType (inherited from Object)||Gets the Type of the current instance.|
|HashPasswordForStoringInConfigFile||Given a password and a string identifying the hash type, this routine produces a hash password suitable for storing in a configuration file.|
|Initialize||Initializes FormsAuthentication by reading the configuration and getting the cookie values and encryption keys for the given application.|
|RedirectFromLoginPage||Overloaded. Redirects an authenticated user back to the originally requested URL.|
|RenewTicketIfOld||Conditionally updates the sliding expiration on a FormsAuthenticationTicket.|
|SetAuthCookie||Overloaded. Creates an authentication ticket and attaches it to the cookie's collection of the outgoing response. It does not perform a redirect.|
|SignOut||Removes the authentication ticket.|
|ToString (inherited from Object)||Returns a String that represents the current Object.|
|Finalize (inherited from Object)||Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax.
|MemberwiseClone (inherited from Object)||Creates a shallow copy of the current Object.|