class Mysql::Authenticator::DummyPlugin

Public Class Methods

new(protocol) click to toggle source

@param protocol [Mysql::Protocol]

# File lib/mysql/authenticator.rb, line 65
def initialize(protocol)
  @protocol = protocol
end

Public Instance Methods

authenticate(passwd, scramble) { |''| ... } click to toggle source

@param passwd [String] @param scramble [String] @yield [String] hashed password @return [Mysql::Packet]

# File lib/mysql/authenticator.rb, line 78
def authenticate(passwd, scramble)
  yield ''
  @protocol.read
end
name() click to toggle source

@return [String]

# File lib/mysql/authenticator.rb, line 70
def name
  ''
end