Reads the server's replies to the startup message until ReadyForQuery, answering authentication requests.
- c: the connection being set up.
- config: the settings:
require_auth,channel_binding,passwordand the like. - user: the role name sent in the startup message.
authenticate :: (c: *Connection, config: Config, user: string) -> Pg_Error
Reads the server's replies to the startup message until ReadyForQuery, answering authentication requests.
Parameters
- c: *Connection
- the connection being set up.
- config: Config
- the settings:
require_auth,channel_binding,passwordand the like. - user: string
- the role name sent in the startup message.