-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
118 changed files
with
263 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
"""apps.scouts_auth.""" | ||
|
||
default_app_config = "scouts_auth.apps.ScoutsAuthConfig" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.apps""" | ||
|
||
from django.apps import AppConfig | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
"""apps.scouts_auth.auth.exceptions.""" | ||
|
||
from .exceptions import InvalidArgumentException, ScoutsAuthException, TokenRefreshException, TokenRequestException |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
"""apps.scouts_auth.models.""" | ||
|
||
from .user import User |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.models.user""" | ||
|
||
import logging | ||
import uuid | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.oidc.""" | ||
|
||
from .oidc_authentication_backend import InuitsOIDCAuthenticationBackend | ||
from .oidc_service import OIDCService | ||
from .oidc_session_refresh import InuitsOIDCSessionRefresh |
1 change: 1 addition & 0 deletions
1
scouts_kampvisum_api/scouts_auth/auth/oidc/oidc_authentication_backend.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.oidc.oidc_service.""" | ||
|
||
import logging | ||
|
||
from django.conf import settings | ||
|
1 change: 1 addition & 0 deletions
1
scouts_kampvisum_api/scouts_auth/auth/oidc/oidc_session_refresh.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.oidc_auth.""" | ||
|
||
import logging | ||
from typing import Tuple | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.permissions.""" | ||
|
||
from .custom_django_permission import CustomDjangoPermission | ||
from .extended_django_model_permission import ExtendedDjangoModelPermission | ||
from .group_membership_permission import GroupMembershipPermission |
1 change: 1 addition & 0 deletions
1
scouts_kampvisum_api/scouts_auth/auth/permissions/custom_django_permission.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.permissions.custom_django_permission.""" | ||
|
||
from rest_framework import permissions | ||
|
||
|
||
|
1 change: 1 addition & 0 deletions
1
scouts_kampvisum_api/scouts_auth/auth/permissions/extended_django_model_permission.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.permissions.extended_django_model_permission.""" | ||
|
||
from rest_framework import permissions | ||
|
||
|
||
|
1 change: 1 addition & 0 deletions
1
scouts_kampvisum_api/scouts_auth/auth/permissions/group_membership_permission.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.permissions.group_membership_permission.""" | ||
|
||
from rest_framework import permissions | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
scouts_kampvisum_api/scouts_auth/auth/serializers/auth_code_serializer.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.serializers.auth_code_serializer.""" | ||
|
||
from rest_framework import serializers | ||
|
||
|
||
|
1 change: 1 addition & 0 deletions
1
scouts_kampvisum_api/scouts_auth/auth/serializers/refresh_serializer.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.serializers.refresh_serializer.""" | ||
|
||
from rest_framework import serializers | ||
|
||
|
||
|
1 change: 1 addition & 0 deletions
1
scouts_kampvisum_api/scouts_auth/auth/serializers/token_serializer.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.serializers.token_serializer.""" | ||
|
||
from rest_framework import serializers | ||
|
||
|
||
|
1 change: 1 addition & 0 deletions
1
scouts_kampvisum_api/scouts_auth/auth/serializers/user_serializer.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.serializers.user_serializer.""" | ||
|
||
import logging | ||
|
||
from rest_framework import serializers | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
"""apps.scouts_auth.services.""" | ||
|
||
from .permission_service import PermissionService |
1 change: 1 addition & 0 deletions
1
scouts_kampvisum_api/scouts_auth/auth/services/permission_service.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.services.permission_service.""" | ||
|
||
import importlib | ||
import logging | ||
from typing import List | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
"""apps.scouts_auth.settings.""" | ||
|
||
from .oidc_settings import InuitsOIDCSettings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
scouts_kampvisum_api/scouts_auth/auth/views/current_user_view.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.views.current_user_view.""" | ||
|
||
import logging | ||
from typing import List | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.views.logout_view.""" | ||
|
||
import logging | ||
|
||
from drf_yasg.utils import swagger_auto_schema | ||
|
1 change: 1 addition & 0 deletions
1
scouts_kampvisum_api/scouts_auth/auth/views/oidc_auth_code_view.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.views.oidc_auth_code_view.""" | ||
|
||
import logging | ||
|
||
from drf_yasg.utils import swagger_auto_schema | ||
|
1 change: 1 addition & 0 deletions
1
scouts_kampvisum_api/scouts_auth/auth/views/oidc_refresh_view.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.views.oidc_refresh_view.""" | ||
|
||
import logging | ||
|
||
from drf_yasg.utils import swagger_auto_schema | ||
|
1 change: 1 addition & 0 deletions
1
scouts_kampvisum_api/scouts_auth/auth/views/permissions_view.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""apps.scouts_auth.views.permissions_view.""" | ||
|
||
import logging | ||
|
||
from django.conf import settings | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
scouts_kampvisum_api/scouts_auth/groupadmin/models/enums/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
"""app.scouts_auth.groupadmin.models.enums.""" | ||
|
||
from .scouts_function_code import AbstractScoutsFunctionCode |
3 changes: 3 additions & 0 deletions
3
scouts_kampvisum_api/scouts_auth/groupadmin/models/enums/scouts_function_code.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
scouts_kampvisum_api/scouts_auth/groupadmin/models/fields/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
"""app.scouts_auth.groupadmin.models.fields.""" | ||
|
||
from .group_admin_id_field import GroupAdminIdField, OptionalGroupAdminIdField |
2 changes: 2 additions & 0 deletions
2
scouts_kampvisum_api/scouts_auth/groupadmin/models/fields/group_admin_id_field.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
scouts_kampvisum_api/scouts_auth/groupadmin/models/mixins/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
"""app.scouts_auth.groupadmin.models.mixins.""" | ||
|
||
from .group_admin_id_mixin import GroupAdminIdMixin | ||
from .group_name_mixin import GroupNameMixin |
2 changes: 2 additions & 0 deletions
2
scouts_kampvisum_api/scouts_auth/groupadmin/models/mixins/group_admin_id_mixin.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
scouts_kampvisum_api/scouts_auth/groupadmin/models/mixins/group_name_mixin.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
scouts_kampvisum_api/scouts_auth/groupadmin/models/scouts_function.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
"""apps.scouts_auth.groupadmin.models.""" | ||
|
||
import logging | ||
from datetime import datetime | ||
from typing import List | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.