Occurs before deleting the session during sign-out.
Assembly: System.IdentityModel.Services (in System.IdentityModel.Services.dll)
This event is raised through a call to the OnSigningOut method from inside the WSFederationAuthenticationModule.SignOut(Boolean) method while signing out of the session at the relying party (RP). The event is not raised when doing federated sign-out through the FederatedSignOut method.
You can add an event handler to perform any additional processing that is needed by your application before the session cookie is deleted. You can read the IsIPInitiated property in the event handler to determine whether the sign-out is the result of receiving a WS-Federation sign-out clean-up request message (“wsignoutcleanup1.0”) from a security token service (STS) or whether it was initiated at the RP.
This event is not guaranteed to be called for every session. Cookies may be deleted at the client side, for example, so this event would never be raised.
Available since 4.5