using System.Collections.Generic;
namespace Renci.SshNet.Common
{
///
/// Provides data for event.
///
public class AuthenticationPromptEventArgs : AuthenticationEventArgs
{
///
/// Gets prompt language.
///
public string Language { get; private set; }
///
/// Gets prompt instruction.
///
public string Instruction { get; private set; }
///
/// Gets server information request prompts.
///
public IEnumerable Prompts { get; private set; }
///
/// Initializes a new instance of the class.
///
/// The username.
/// The instruction.
/// The language.
/// The information request prompts.
public AuthenticationPromptEventArgs(string username, string instruction, string language, IEnumerable prompts)
: base(username)
{
Instruction = instruction;
Language = language;
Prompts = prompts;
}
}
}