using System;
namespace Renci.SshNet.Common
{
    /// 
    /// Base class for authentication events.
    /// 
    public abstract class AuthenticationEventArgs : EventArgs
    {
        /// 
        /// Gets the username.
        /// 
        public string Username { get; private set; }
        /// 
        /// Initializes a new instance of the  class.
        /// 
        /// The username.
        public AuthenticationEventArgs(string username)
        {
            this.Username = username;
        }
    }
}