public override void Authenticate(NpgsqlConnector context, byte[] password) { NpgsqlEventLog.LogMethodEnter(LogLevel.Debug, CLASSNAME, "Authenticate"); NpgsqlPasswordPacket pwpck = new NpgsqlPasswordPacket(password, context.BackendProtocolVersion); pwpck.WriteToStream(context.Stream); }
public override void Authenticate(NpgsqlConnector context, byte[] password) { NpgsqlEventLog.LogMethodEnter(LogLevel.Debug, CLASSNAME, "Authenticate"); NpgsqlPasswordPacket pwpck = new NpgsqlPasswordPacket(password); pwpck.WriteToStream(context.Stream); }
public override void Authenticate(NpgsqlConnector context, string password) { NpgsqlEventLog.LogMethodEnter(LogLevel.Debug, CLASSNAME, "Authenticate"); NpgsqlPasswordPacket pwpck = new NpgsqlPasswordPacket(password, context.BackendProtocolVersion); BufferedStream stream = new BufferedStream(context.Stream); pwpck.WriteToStream(stream); stream.Flush(); }
public override void Authenticate(NpgsqlConnector context, string password) { NpgsqlEventLog.LogMethodEnter(LogLevel.Debug, CLASSNAME, "Authenticate"); NpgsqlPasswordPacket pwpck = new NpgsqlPasswordPacket(password, context.BackendProtocolVersion); BufferedStream stream = new BufferedStream(context.Stream); pwpck.WriteToStream(stream, context.Encoding); stream.Flush(); }
internal void Authenticate(byte[] password) { _log.Debug("Authenticating"); var pwpck = new NpgsqlPasswordPacket(password); pwpck.WriteToStream(Stream); }