Пример #1
0
 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();
     }
 }
Пример #2
0
        //</Snippet3>

        //<Snippet4>
        void SessionAuthenticationModule_SigningOut(object sender, SigningOutEventArgs e)
        {
            System.Diagnostics.Trace.WriteLine("Handling SigningOut event");
        }
Пример #3
0
 private static void OnFederatedSigningOut(object sender, SigningOutEventArgs e)
 {
     Debug.WriteLine("FederatedAuthenticationModule.SigningOut");
 }
Пример #4
0
 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");
 }
Пример #7
0
 private void CustomAuthenticationModule_SigningOut(object sender, SigningOutEventArgs e)
 {
     Debug.WriteLine("SigningOut");
 }
 private void CustomAuthenticationModule_SigningOut(object sender, SigningOutEventArgs e)
 {
     var auth = (CustomWSFederationAuthenticationModule)sender;
     Debug.WriteLine("SigningOut");
 }
Пример #9
0
 void SessionAuthenticationModule_SigningOut(object sender, SigningOutEventArgs e)
 {
     //throw new NotImplementedException();
 }