Postgres module

scram_continue

procedure · 1 overloadsince 0.27.0Source

Answers the server-first message with the client-final message.

scram_continue :: (
    c: *Connection,
    config: Config,
    s: *Scram,
    data: [] u8
) -> Pg_Error

Answers the server-first message with the client-final message.

Parameters

c: *Connection
the connection to answer on.
config: Config
the connection settings: password and max_scram_iterations matter here.
s: *Scram
the exchange state from scram_start.
data: [] u8
the server-first message.

Returns

See also