public bool GetShouldSaveCredentials() { string promptMsg = Prompts.Prompt_ShouldSaveCredentials; string emptyErrMsg = Errors.Error_InvalidShouldSaveCredentials_Empty; string notYesNoErrMsg = Errors.Error_InvalidShouldSaveCredentials_NotYesNo; return(ConsoleIo.GetYesNo(promptMsg, emptyErrMsg, notYesNoErrMsg)); }
private bool GetUseSavedCredentials() { string promptMsg = Prompts.Prompt_UseSavedCredentials; string emptyErrMsg = Errors.Error_InvalidUseSavedCredentials_Empty; string notYesNoErrMsg = Errors.Error_InvalidUseSavedCredentials_NotYesNo; return(ConsoleIo.GetYesNo(promptMsg, emptyErrMsg, notYesNoErrMsg)); }
public SecureString GetPassword() { string promptMsg = Prompts.Prompt_Password; return(ConsoleIo.GetSecureString(promptMsg)); }