Esempio n. 1
0
        internal static AskCredentialsToUser.DialogData RequestCredentials(
            string server,
            EditorWindow parentWindow)
        {
            CredentialsDialog dialog = Create(
                server, new ProgressControlsForDialogs());

            ResponseType dialogResult = dialog.RunModal(parentWindow);

            return(dialog.BuildCredentialsDialogData(dialogResult));
        }
Esempio n. 2
0
        AskCredentialsToUser.DialogData AskCredentialsToUser.IGui.AskUserForCredentials(string servername)
        {
            AskCredentialsToUser.DialogData result = null;

            GUIActionRunner.RunGUIAction(delegate
            {
                result = CredentialsDialog.RequestCredentials(
                    servername, ParentWindow.Get());
            });

            return(result);
        }
Esempio n. 3
0
        CredentialsDialogData ICredentialsUI.AskUserForCredentials(string servername)
        {
            CredentialsDialogData result = null;

            GUIActionRunner.RunGUIAction(delegate
            {
                result = CredentialsDialog.RequestCredentials(
                    servername, mParentWindow);
            });

            return(result);
        }
Esempio n. 4
0
        AskCredentialsToUser.DialogData AskCredentialsToUser.IGui.AskUserForSSOCredentials(string cloudServer)
        {
            AskCredentialsToUser.DialogData result = null;

            GUIActionRunner.RunGUIAction(delegate
            {
                result = CredentialsDialog.RequestCredentials(
                    cloudServer, mParentWindow);
            });

            return(result);
        }