Coverage for gws-app/gws/plugin/postgres/auth_provider.py: 100%

9 statements  

« prev     ^ index     » next       coverage.py v7.17.0, created at 2026-10-23 20:06 +0200

1"""PostgreSQL authorization provider.""" 

2 

3import gws 

4import gws.base.database 

5import gws.base.database.auth_provider 

6 

7 

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.""" 

11 

12 pass 

13 

14 

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.""" 

18 

19 pass