SessionAuthenticationModule Methods

.NET Framework (current version)
 

Namespace:   System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

NameDescription
System_CAPS_pubmethodAuthenticateSessionSecurityToken(SessionSecurityToken, Boolean)

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.

System_CAPS_pubmethodContainsSessionTokenCookie(HttpCookieCollection)

Determines whether a session cookie is in the specified cookie collection.

System_CAPS_pubmethodCreateSessionSecurityToken(ClaimsPrincipal, String, DateTime, DateTime, Boolean)

Creates a SessionSecurityToken from the specified parameters by using the configured session token handler.

System_CAPS_pubmethodDeleteSessionTokenCookie()

Deletes the session cookie and removes it from the cache.

System_CAPS_pubmethodDispose()

Releases the resources (except memory) used by the current instance of the HttpModuleBase class.(Inherited from HttpModuleBase.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInit(HttpApplication)

Initializes the HTTP module.(Inherited from HttpModuleBase.)

System_CAPS_protmethodInitializeModule(HttpApplication)

Initializes the module and prepares it to handle events from the module's ASP.NET application object.(Overrides HttpModuleBase.InitializeModule(HttpApplication).)

System_CAPS_protmethodInitializePropertiesFromConfiguration()

Initializes the module properties based on definitions in the configuration file.(Overrides HttpModuleBase.InitializePropertiesFromConfiguration().)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnAuthenticateRequest(Object, EventArgs)

Handles the HttpApplication.AuthenticateRequest event from the ASP.NET pipeline.

System_CAPS_protmethodOnPostAuthenticateRequest(Object, EventArgs)

Handles the HttpApplication.PostAuthenticateRequest event from the ASP.NET pipeline.

System_CAPS_protmethodOnSessionSecurityTokenCreated(SessionSecurityTokenCreatedEventArgs)

Raises the SessionSecurityTokenCreated event.

System_CAPS_protmethodOnSessionSecurityTokenReceived(SessionSecurityTokenReceivedEventArgs)
System_CAPS_protmethodOnSignedOut(EventArgs)

Raises the SignedOut event.

System_CAPS_protmethodOnSigningOut(SigningOutEventArgs)

Raises the SigningOut event.

System_CAPS_protmethodOnSignOutError(ErrorEventArgs)

Raises the SignOutError event.

System_CAPS_pubmethodReadSessionTokenFromCookie(Byte[])

Reads a SessionSecurityToken from the specified session cookie.

System_CAPS_protmethodSetPrincipalFromSessionToken(SessionSecurityToken)

Sets the principal on the HttpContext and Thread to the principal that is contained in the specified session token.

System_CAPS_pubmethodSignOut()

Signs the current user out and raises the associated events.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodTryReadSessionTokenFromCookie(SessionSecurityToken)

Attempts to read a SessionSecurityToken from a session cookie and returns a value that indicates whether the session cookie was successfully read.

System_CAPS_protmethodValidateSessionToken(SessionSecurityToken)

Validates the specified SessionSecurityToken and returns its identities.

System_CAPS_pubmethodWriteSessionTokenToCookie(SessionSecurityToken)

Writes the specified SessionSecurityToken to a session cookie.

Return to top
Show: