private void WSFederationAuthenticationModule_SigningOut(object sender, SigningOutEventArgs e) { // If AAD sent an SSOut Request, honor it. if (e.IsIPInitiated) { // Remove the application cookies, etc. WSFederationAuthenticationModule WsFam = FederatedAuthentication.WSFederationAuthenticationModule; HttpContext.Current.Session.Abandon(); Response.Cookies.Clear(); } }
//</Snippet3> //<Snippet4> void SessionAuthenticationModule_SigningOut(object sender, SigningOutEventArgs e) { System.Diagnostics.Trace.WriteLine("Handling SigningOut event"); }
private static void OnFederatedSigningOut(object sender, SigningOutEventArgs e) { Debug.WriteLine("FederatedAuthenticationModule.SigningOut"); }
private void CustomAuthenticationModule_SigningOut(object sender, SigningOutEventArgs e) { var auth = (CustomWSFederationAuthenticationModule)sender; Debug.WriteLine("SigningOut"); }
private void CustomAuthenticationModule_SigningOut(object sender, SigningOutEventArgs e) { Debug.WriteLine("SigningOut"); }
void SessionAuthenticationModule_SigningOut(object sender, SigningOutEventArgs e) { //throw new NotImplementedException(); }