AuthRequireSCRAM¶
The client requires SCRAM-SHA-256 authentication. Connection fails with
pg_session_connection_failed(AuthenticationMethodRejected) if the server
responds to the startup message with any other authentication challenge
(cleartext, MD5, or no authentication). This is the default.
SCRAM is the only PostgreSQL authentication method that provides mutual authentication — the client verifies the server knows the password, not just that the server accepted the client's proof. Requiring SCRAM closes downgrade attacks where a malicious or compromised server asks for a weaker method.
Constructors¶
create¶
Returns¶
- AuthRequireSCRAM val^
Public Functions¶
eq¶
Parameters¶
- that: AuthRequireSCRAM val
Returns¶
- Bool val
ne¶
Parameters¶
- that: AuthRequireSCRAM val
Returns¶
- Bool val