Module auth

Source

Structs§

AuthManager
Authentication manager that handles users and roles
DfAuthSource
AuthSource implementation for integration with pgwire authentication Provides proper password-based authentication instead of custom startup handler
Grant
Grant entry for specific permissions on resources
Role
Role information for access control
RoleConfig
Role configuration for creation
SimpleAuthSource
Simple AuthSource implementation that accepts any user with empty password
User
User information stored in the authentication system

Enums§

Permission
Permission types for granular access control
ResourceType
Resource types for access control

Functions§

create_auth_source
Helper function to create auth source with auth manager