Coverage for gws-app/gws/base/auth/method.py: 86%

7 statements  

« prev     ^ index     » next       coverage.py v7.8.0, created at 2025-04-17 01:37 +0200

1import gws 

2 

3 

4class Config(gws.Config): 

5 """Auth method config.""" 

6 

7 secure: bool = True 

8 """use only with SSL""" 

9 

10 

11class Object(gws.AuthMethod): 

12 def configure(self): 

13 self.secure = self.cfg('secure')