Coverage for gws-app/gws/plugin/auth_provider/__init__.py: 100%
0 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"""Authentication providers.
3An authentication provider checks the credentials passed by an authentication
4method and returns a user with roles. Providers are configured in
5``auth.providers``. The authentication manager tries the providers that allow
6the method in the configured order and takes the first user found.
8Subpackages
9-----------
11- ``file`` - users from a local JSON file with hashed passwords.
12- ``ldap`` - users from an LDAP or Active Directory server, with roles
13 assigned by LDAP filters and group membership.
15Example::
17 auth.providers+ {
18 type "file"
19 path "/data/users.json"
20 }
21"""