Export (0) Print
Expand All

SessionAuthenticationModule Methods

.NET Framework 4.5

The SessionAuthenticationModule type exposes the following members.

  Name Description
Public method AuthenticateSessionSecurityToken Authenticates the incoming request by validating the incoming session token. Upon successful validation, it updates the current HTTP context and thread principal with the specified SessionSecurityToken.
Public method ContainsSessionTokenCookie Determines whether a session cookie is in the specified cookie collection.
Public method CreateSessionSecurityToken Creates a SessionSecurityToken from the specified parameters by using the configured session token handler.
Public method DeleteSessionTokenCookie Deletes the session cookie and removes it from the cache.
Public method Dispose Releases the resources (except memory) used by the current instance of the HttpModuleBase class. (Inherited from HttpModuleBase.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Init Initializes the HTTP module. (Inherited from HttpModuleBase.)
Protected method InitializeModule Initializes the module and prepares it to handle events from the module's ASP.NET application object. (Overrides HttpModuleBase.InitializeModule(HttpApplication).)
Protected method InitializePropertiesFromConfiguration Initializes the module properties based on definitions in the configuration file. (Overrides HttpModuleBase.InitializePropertiesFromConfiguration().)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnAuthenticateRequest Handles the HttpApplication.AuthenticateRequest event from the ASP.NET pipeline.
Protected method OnPostAuthenticateRequest Handles the HttpApplication.PostAuthenticateRequest event from the ASP.NET pipeline.
Protected method OnSessionSecurityTokenCreated Raises the SessionSecurityTokenCreated event.
Protected method OnSessionSecurityTokenReceived Raises the SessionSecurityTokenReceived event.
Protected method OnSignedOut Raises the SignedOut event.
Protected method OnSigningOut Raises the SigningOut event.
Protected method OnSignOutError Raises the SignOutError event.
Public method ReadSessionTokenFromCookie Reads a SessionSecurityToken from the specified session cookie.
Protected method SetPrincipalFromSessionToken Sets the principal on the HttpContext and Thread to the principal that is contained in the specified session token.
Public method SignOut Signs the current user out and raises the associated events.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryReadSessionTokenFromCookie Attempts to read a SessionSecurityToken from a session cookie and returns a value that indicates whether the session cookie was successfully read.
Protected method ValidateSessionToken Validates the specified SessionSecurityToken and returns its identities.
Public method WriteSessionTokenToCookie Writes the specified SessionSecurityToken to a session cookie.
Top
Show:
© 2014 Microsoft