Class: Mysql::Authenticator::DummyPlugin
- Inherits:
-
Object
- Object
- Mysql::Authenticator::DummyPlugin
- Defined in:
- lib/mysql/authenticator.rb
Overview
dummy plugin
Instance Method Summary collapse
- #authenticate(passwd, scramble) {|String| ... } ⇒ Mysql::Packet
-
#initialize(protocol) ⇒ DummyPlugin
constructor
A new instance of DummyPlugin.
- #name ⇒ String
Constructor Details
#initialize(protocol) ⇒ DummyPlugin
Returns a new instance of DummyPlugin.
67 68 69 |
# File 'lib/mysql/authenticator.rb', line 67 def initialize(protocol) @protocol = protocol end |
Instance Method Details
#authenticate(passwd, scramble) {|String| ... } ⇒ Mysql::Packet
80 81 82 83 |
# File 'lib/mysql/authenticator.rb', line 80 def authenticate(passwd, scramble) # rubocop:disable Lint/UnusedMethodArgument yield '' @protocol.read end |
#name ⇒ String
72 73 74 |
# File 'lib/mysql/authenticator.rb', line 72 def name '' end |