Class OAuthBrowserDialog

java.lang.Object
org.eclipse.swt.widgets.Dialog
com.iizigo.ws.editor.OAuthBrowserDialog

public class OAuthBrowserDialog extends Dialog
Browser in dialog used to show the OAuth (2) client authentication. This dialog must be created with the constructor, then called with "open()". The "open" method is modal until dialog is closed from the authentication callback or the user. If the user closes the dialog box, the session is disposed of.
Author:
Christopher Mindus
  • Constructor Details

    • OAuthBrowserDialog

      public OAuthBrowserDialog(Shell parent, IOAuthService service, String url)
      Create the dialog.
      Parameters:
      parent - Parent shell.
      service - The service to authenticate.
      url - The URL to display.
  • Method Details

    • open

      public void open()
      Open the dialog in a modal window.
    • close

      public void close()
      Called when dialog should be closed due to completed or failed authentication.