MCPcopy
hub / github.com/brianc/node-postgres / _handleAuthSASLContinue

Method _handleAuthSASLContinue

packages/pg/lib/client.js:340–352  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

338 }
339
340 async _handleAuthSASLContinue(msg) {
341 try {
342 await sasl.continueSession(
343 this.saslSession,
344 this.password,
345 msg.data,
346 this.enableChannelBinding && this.connection.stream
347 )
348 this.connection.sendSCRAMClientFinalMessage(this.saslSession.response)
349 } catch (err) {
350 this.connection.emit('error', err)
351 }
352 }
353
354 _handleAuthSASLFinal(msg) {
355 try {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected