Skip to main content

Module user_provider

Module user_provider 

Source

ModulesΒ§

static_user_provider πŸ”’
watch_file_user_provider πŸ”’

EnumsΒ§

MysqlAuthMethod
PasswordVerifier πŸ”’
PgAuthInfo

ConstantsΒ§

BEARER_TOKEN_USER
Reserved SQL-protocol username selecting bearer-token authentication.

TraitsΒ§

UserProvider

FunctionsΒ§

authenticate_with_credential πŸ”’
load_credential_from_file πŸ”’
parse_credential_line πŸ”’
Parse a line of credential in the format of username=password or username:permission_mode=password.
pg_scram_unsupported_users πŸ”’
Returns the users whose verifier cannot back a Postgres SCRAM handshake.
postgres_auth_info_with_credential πŸ”’
warn_if_pg_scram_disabled πŸ”’
Warns once per credential load when the set disables Postgres SCRAM, so operators don’t unknowingly serve cleartext passwords over Postgres while believing SCRAM is in effect.

Type AliasesΒ§

UserInfoMap
Type alias for user info map. Key is username, value is (password verifier, permission_mode).