AuthManager Methods (BCL)

Public Instance Methods

Method Description
Dispose Releases resources used by this object.
GenerateEncryptionKey Generates an encryption key for encrypting/decrypting cookie and query string data for tickets.
GetUserIDFromCookie(String) Retrieves the user ID from a specified cookie.
GetUserIDFromCookieAndKey(String, String) Retrieves the user ID from a specified cookie using an encryption key.
IsAuthenticated Determines whether the current user has a valid MSCSAuth ticket. Determines if the user was authenticated within the default time window of 90 minutes.
IsAuthenticated(Int32) Determines whether the current user has a valid MSCSAuth ticket. Determines if the user was authenticated within the given time window.
Refresh(String) Updates the cached site configuration resource properties after any of the properties have been changed.
SetAuthTicket(String, Boolean) Sets an encrypted MSCSAuth ticket for a registered user with the default time window of 90 minutes.
SetAuthTicket(String, Boolean, Int32) Sets an encrypted MSCSAuth ticket for a registered user.
SetProfileTicket(String, Boolean) Sets an MSCSProfile ticket for an anonymous user.

 

Protected Instance Methods

Method Description
CheckState Verifies that the object has not already been disposed.
Dispose(Boolean) Releases the unmanaged resources used by this class and optionally releases the managed resources.

 

Copyright © 2005 Microsoft Corporation.
All rights reserved.