public void ShowUI(IWin32Window owner)
        {
            // Always clear the cache to ensure previous logged in user is not in browser cache.
            // If we do not clear the cache, and a user has signed in before, then that user will display
            WebBrowserHelpers.ClearCache();

            this.browser.Navigate(this.StartUrl.AbsoluteUri);
            this.ShowDialog(owner);
        }
Example #2
0
 /// <summary>
 /// Log a user out of a Auth0 application.
 /// </summary>
 public void Logout()
 {
     this.CurrentUser = null;
     WebBrowserHelpers.ClearCache();
 }