internal static AskCredentialsToUser.DialogData RequestCredentials( string server, EditorWindow parentWindow) { CredentialsDialog dialog = Create( server, new ProgressControlsForDialogs()); ResponseType dialogResult = dialog.RunModal(parentWindow); return(dialog.BuildCredentialsDialogData(dialogResult)); }
AskCredentialsToUser.DialogData AskCredentialsToUser.IGui.AskUserForCredentials(string servername) { AskCredentialsToUser.DialogData result = null; GUIActionRunner.RunGUIAction(delegate { result = CredentialsDialog.RequestCredentials( servername, ParentWindow.Get()); }); return(result); }
CredentialsDialogData ICredentialsUI.AskUserForCredentials(string servername) { CredentialsDialogData result = null; GUIActionRunner.RunGUIAction(delegate { result = CredentialsDialog.RequestCredentials( servername, mParentWindow); }); return(result); }
AskCredentialsToUser.DialogData AskCredentialsToUser.IGui.AskUserForSSOCredentials(string cloudServer) { AskCredentialsToUser.DialogData result = null; GUIActionRunner.RunGUIAction(delegate { result = CredentialsDialog.RequestCredentials( cloudServer, mParentWindow); }); return(result); }