StructsΒ§
- PgUser
Provider πSource - The [
AuthSource] shared by pgwireβs cleartext and SCRAM mechanisms. Stateless by design: it only holds the user provider, everything about the current login arrives with each call, and the verified [UserInfoRef] travels back to the startup handler as the source identity, reported by [AuthOutcome::Authenticated]. - Zero
PidSecret πKeyGenerator - Query cancellation is not supported yet, so announce pid/secret key 0 as
before the
AuthDriveradoption.
EnumsΒ§
- DbResolution π
- Mechanism
Selection π
FunctionsΒ§
- record_
auth_ πfailure - resolve_
db_ πinfo - A function extracted to resolve lifetime and readability issues:
- send_
error π - send_
password_ πauthentication_ failed - set_
client_ πinfo - to_
scram_ πsecret