Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

FormsAuthentication Methods

(see also Protected Methods )
  Name Description
Public method Static Authenticate
Validates a user name and password against credentials stored in the configuration file for an application.
Public method Static Decrypt
Creates a FormsAuthenticationTicket object based on the encrypted forms-authentication ticket passed to the method.
Public method Static Encrypt
Creates a string containing an encrypted forms-authentication ticket suitable for use in an HTTP cookie.
Public method Equals  Overloaded.
Determines whether two Object instances are equal.
(inherited from Object)
Public method Static GetAuthCookie Overloaded.
Creates an authentication cookie for a given user name.
Public method GetHashCode 
Serves as a hash function for a particular type.
(inherited from Object)
Public method Static GetRedirectUrl
Returns the redirect URL for the original request that caused the redirect to the login page.
Public method GetType 
Gets the Type of the current instance.
(inherited from Object)
Public method Static HashPasswordForStoringInConfigFile
Produces a hash password suitable for storing in a configuration file based on the specified password and hash algorithm.
Public method Static Initialize
Initializes the FormsAuthentication object based on the configuration settings for the application.
Public method Static RedirectFromLoginPage Overloaded.
Redirects an authenticated user back to the originally requested URL or the default URL.
Public method Static RedirectToLoginPage Overloaded.
Redirects the browser to the login URL.
Public method Static ReferenceEquals 
Determines whether the specified Object instances are the same instance.
(inherited from Object)
Public method Static RenewTicketIfOld
Conditionally updates the issue date and time and expiration date and time for a FormsAuthenticationTicket.
Public method Static SetAuthCookie Overloaded.
Creates an authentication ticket for the supplied user name and adds it to the cookies collection of the response or the URL.
Public method Static SignOut
Removes the forms-authentication ticket from the browser.
Public method ToString 
Returns a String that represents the current Object.
(inherited from Object)
Top
  Name Description
Protected method Finalize 
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(inherited from Object)
Protected method MemberwiseClone 
Creates a shallow copy of the current Object.
(inherited from Object)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.