class Mysql::Protocol::AuthenticationResultPacket

Attributes

auth_plugin[R]
result[R]
scramble[R]

Public Class Methods

new(*args) click to toggle source
# File lib/mysql/protocol.rb, line 746
def initialize(*args)
  @result, @auth_plugin, @scramble = args
end
parse(pkt) click to toggle source
# File lib/mysql/protocol.rb, line 737
def self.parse(pkt)
  result = pkt.utiny
  auth_plugin = pkt.string
  scramble = pkt.string
  self.new(result, auth_plugin, scramble)
end