<PackageReference Include="SSH.NET" Version="2020.0.2" />

Renci.SshNet.AuthenticationMethod

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