AuthHandler class

Inheritance

Constructors

AuthHandler(String? username, String? password, String? db, List<int> scrambleBuffer, int clientFlags, int maxPacketSize, int characterSet, AuthPlugin authPlugin, {bool ssl = false})

Properties

authPlugin AuthPlugin
final
characterSet int
final
clientFlags int
final
db String?
final
hashCode int
The hash code for this object.
no setterinherited
log → Logger
finalinherited
maxPacketSize int
final
password String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrambleBuffer List<int>
final
username String?
final

Methods

checkResponse(Buffer response, [bool prepareStmt = false, bool isHandlingRows = false]) → dynamic
Parses the response packet to recognise Ok and Error packets. Returns an _OkPacket if the packet was an Ok packet, throws a MySqlException if it was an Error packet, or returns null if the packet has not been handled by this method.
inherited
createRequest() Buffer
Returns a Buffer containing the command packet.
override
getHash() List<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processResponse(Buffer response) HandlerResponse
Parses a Buffer containing the response to the command. Returns a _HandlerResponse. The default implementation returns a finished _HandlerResponse with a result which is obtained by calling checkResponse
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited