Coverage for gws-app/gws/plugin/postgres/auth_provider.py: 100%
9 statements
« prev ^ index » next coverage.py v7.16.2, created at 2026-10-05 13:35 +0200
« prev ^ index » next coverage.py v7.16.2, created at 2026-10-05 13:35 +0200
1"""PostgreSQL authorization provider."""
3import gws
4import gws.base.database
5import gws.base.database.auth_provider
8@gws.ext.config.authProvider('postgres')
9class Config(gws.base.database.auth_provider.Config):
10 """Authentication provider that checks users with SQL queries in PostgreSQL."""
12 pass
15@gws.ext.object.authProvider('postgres')
16class Object(gws.base.database.auth_provider.Object):
17 """Authorization provider that checks credentials and loads users with SQL queries in PostgreSQL."""
19 pass