class Net::SSH::Authentication::Methods::Abstract

def initialize(session, options = {})

Instantiates a new authentication method.
def initialize(session, options = {})
  @session = session
  @key_manager = options[:key_manager]
  @options = options
  @prompt = options[:password_prompt]
  @pubkey_algorithms = options[:pubkey_algorithms] \
    || %w[rsa-sha2-256-cert-v01@openssh.com
          ssh-rsa-cert-v01@openssh.com
          rsa-sha2-256
          ssh-rsa]
  self.logger = session.logger
end