class HrrRbSsh::Authentication::Method::None::Context
Attributes
authentication_methods[R]
username[R]
variables[R]
vars[R]
Public Class Methods
new(username, variables, authentication_methods, logger: nil)
click to toggle source
# File lib/hrr_rb_ssh/authentication/method/none/context.rb, line 19 def initialize username, variables, authentication_methods, logger: nil self.logger = logger @username = username @variables = variables @vars = variables @authentication_methods = authentication_methods end
Public Instance Methods
verify(username)
click to toggle source
# File lib/hrr_rb_ssh/authentication/method/none/context.rb, line 27 def verify username log_info { "verify username" } log_debug { "username is #{username}, @username is #{@username}" } username == @username end