THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
class PGSQLSSLMode(Enum): (source)
Define SSL modes for PostgreSQL connections.
This enumeration corresponds to the 'sslmode' parameter in libpq. The values determine the level of SSL enforcement and validation for PostgreSQL connections.
| Returns | |
PGSQLSSLMode | An enumeration member representing the SSL mode. |
| Constant | ALLOW |
Attempt SSL, silently fall back if unavailable. |
| Constant | DISABLE |
No SSL (not secure). |
| Constant | PREFER |
Use SSL if available (common default). |
| Constant | REQUIRE |
Require SSL (no certificate validation). |
| Constant | VERIFY |
Validate the server certificate against the CA. |
| Constant | VERIFY |
Validate both the certificate and the host name (most secure). |