示例#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));
        }
示例#2
0
        AskCredentialsToUser.DialogData AskCredentialsToUser.IGui.AskUserForCredentials(string servername)
        {
            AskCredentialsToUser.DialogData result = null;

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

            return(result);
        }
示例#3
0
        CredentialsDialogData ICredentialsUI.AskUserForCredentials(string servername)
        {
            CredentialsDialogData result = null;

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

            return(result);
        }
示例#4
0
        AskCredentialsToUser.DialogData AskCredentialsToUser.IGui.AskUserForSSOCredentials(string cloudServer)
        {
            AskCredentialsToUser.DialogData result = null;

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

            return(result);
        }