UnixDomainSocketWithPeerAuthentication

Unix domain socket connection configuration with peer authentication.

Parameters

path

the filesystem path to the Unix domain socket.

role

the database role to assume for peer authentication; also exposed as userAndRole.

database

the name of the database to connect to.

See also

Constructors

Link copied to clipboard
constructor(path: String, role: String, database: String)

Properties

Link copied to clipboard
open override val database: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val userAndRole: String

The user and role name used for authentication.

Functions

Link copied to clipboard
suspend fun ConnectionConfig.initConnection(sqlConnection: SqlConnection, extra: CoConnectHandler?)