swh.auth.django: Expose OIDCUser model object
That class is a custom User proxy model for remote users storing OpenID Connect related data (profile containing authentication tokens, ...). The model is also not saved to database as all users are already stored in the Keycloak one. That class will be used for example by both the webapp and the deposit. Related to T3079
Showing
- mypy.ini 3 additions, 0 deletionsmypy.ini
- pytest.ini 1 addition, 0 deletionspytest.ini
- requirements-django.txt 1 addition, 0 deletionsrequirements-django.txt
- requirements-test.txt 1 addition, 0 deletionsrequirements-test.txt
- setup.py 4 additions, 1 deletionsetup.py
- swh/auth/django/__init__.py 0 additions, 0 deletionsswh/auth/django/__init__.py
- swh/auth/django/models.py 85 additions, 0 deletionsswh/auth/django/models.py
- swh/auth/tests/app/__init__.py 0 additions, 0 deletionsswh/auth/tests/app/__init__.py
- swh/auth/tests/app/apptest/__init__.py 0 additions, 0 deletionsswh/auth/tests/app/apptest/__init__.py
- swh/auth/tests/app/apptest/apps.py 10 additions, 0 deletionsswh/auth/tests/app/apptest/apps.py
- swh/auth/tests/app/apptest/models.py 19 additions, 0 deletionsswh/auth/tests/app/apptest/models.py
- swh/auth/tests/app/apptest/settings.py 7 additions, 0 deletionsswh/auth/tests/app/apptest/settings.py
- swh/auth/tests/app/apptest/urls.py 6 additions, 0 deletionsswh/auth/tests/app/apptest/urls.py
- swh/auth/tests/app/manage.py 23 additions, 0 deletionsswh/auth/tests/app/manage.py
- swh/auth/tests/test_models.py 71 additions, 0 deletionsswh/auth/tests/test_models.py
- tox.ini 1 addition, 0 deletionstox.ini
Loading
Please register or sign in to comment