Renci.SshNet.AuthenticationMethod
Base class for all supported authentication methods.
namespace Renci.SshNet
{
public abstract class AuthenticationMethod : IAuthenticationMethod, IDisposable
{
public abstract string Name { get; }
public string Username { get; }
public string[] AllowedAuthentications { get; set; }
protected AuthenticationMethod(string username);
public abstract AuthenticationResult Authenticate(Session session);
protected virtual void Dispose(bool disposing);
public void Dispose();
}
}