MCPcopy Create free account
hub / github.com/denodrivers/postgres / getScramConfiguration

Function getScramConfiguration

tests/config.ts:120–132  ·  view source on GitHub ↗
(tls: boolean)

Source from the content-addressed store, hash-verified

118};
119
120export const getScramConfiguration = (tls: boolean): TcpConfiguration => {
121 return {
122 applicationName: config.postgres_scram.applicationName,
123 database: config.postgres_scram.database,
124 hostname: config.postgres_scram.hostname,
125 host_type: "tcp",
126 options: {},
127 password: config.postgres_scram.password,
128 port: config.postgres_scram.port,
129 tls: tls ? enabled_tls : disabled_tls,
130 user: config.postgres_scram.users.scram,
131 };
132};
133
134export const getScramSocketConfiguration = (): SocketConfiguration => {
135 return {

Callers 1

connection_test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected