MCPcopy Create free account
hub / github.com/Effect-TS/effect / attribute

Function attribute

packages/sql/pg/src/PgAuth.ts:198–199  ·  view source on GitHub ↗
(attributes: Map<string, string>, key: string)

Source from the content-addressed store, hash-verified

196}
197
198const attribute = (attributes: Map<string, string>, key: string): string =>
199 attributes.get(key) ?? fail(`Missing SCRAM attribute "${key}"`)
200
201/**
202 * Starts a SCRAM-SHA-256 exchange. The `nonce` must be a fresh, random,

Callers 2

scramContinueUnsafeFunction · 0.70
scramFinishUnsafeFunction · 0.70

Calls 2

failFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected