AuthMoreDataPacket

ldbc.connector.net.packet.response.AuthMoreDataPacket
See theAuthMoreDataPacket companion object
case class AuthMoreDataPacket(status: Int, authenticationMethodData: Array[Byte]) extends AuthenticationPacket

We need to make sure that when sending plugin supplied data to the client they are not considered a special out-of-band command, like e.g.

ERR_Packet, Protocol::AuthSwitchRequest: or OK_Packet. To avoid this the server will send all plugin data packets "wrapped" in a command \1. Note that the client will continue sending its replies unrwapped: Protocol::AuthSwitchResponse:

Value parameters

authenticationMethodData

Type: string Name: authentication method data Description: Extra authentication data beyond the initial challenge

status

Type: int<1> Name: 0x01 Description: status tag

Attributes

Companion
object
Source
AuthMoreDataPacket.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Packet
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
AuthMoreDataPacket.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product