AuthenticationInfo Class (BCL)

Abstracts the authentication components.

System.Object
   Microsoft.CommerceServer.Runtime.AuthManager
      Microsoft.CommerceServer.Runtime.AuthenticationInfo

Public Instance Methods

Method Description
Dispose (Inherited from AuthManager) Releases resources used by this object.
GenerateEncryptionKey (Inherited from AuthManager) Generates an encryption key for encrypting/decrypting cookie and query string data for tickets.
GetUserIDFromCookie(String) (Inherited from AuthManager) Retrieves the user ID from a specified cookie.
GetUserIDFromCookieAndKey(String, String) (Inherited from AuthManager) Retrieves the user ID from a specified cookie using an encryption key.
IsAuthenticated (Inherited from AuthManager) Determines whether the current user has a valid MSCSAuth ticket. Checks to see if the user was authenticated within the given time window.
IsAuthenticated(Int32) (Inherited from AuthManager) Determines whether the current user has a valid MSCSAuth ticket. Allows the determination of whether the user has been authenticated within the default time window of 90 minutes.
Refresh(String) (Inherited from AuthManager) Refreshes the siteconfig cache in the AuthManager object.
SetAuthTicket(String, Boolean) (Inherited from AuthManager) Sets an encrypted MSCSAuth ticket for a registered user with the default time window of 90 minutes.
SetAuthTicket(String, Boolean, Int32) (Inherited from AuthManager) Sets an encrypted MSCSAuth ticket for a registered user.
SetProfileTicket(String, Boolean) (Inherited from AuthManager) Sets an MSCSProfile ticket for an anonymous user.

Public Instance Properties

Property Description
AuthTicket (Inherited from AuthManager) Retrieves the AuthTicket property.
ProfileTicket (Inherited from AuthManager) Retrieves the ProfileTicket property.
SupportsPersistentCookies Indicates if the user supports persistent cookies.
SupportsSessionCookies Indicates if the user supports session cookies.

Protected Instance Methods

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

 

Requirements

Namespace: Microsoft.CommerceServer.Runtime

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.