Authenticator

internal object Authenticator

Handles the authentication process during the PostgreSQL connection startup phase. It manages the state machine for exchanging authentication messages with the server.

Functions

Link copied to clipboard
fun authenticate(stream: PgStream, password: String?, channelBinding: ChannelBinding)

Authenticates the user with the PostgreSQL server using the provided credentials.