Files
2024-11-27 13:18:16 +01:00

17 lines
481 B
Python
Executable File

from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
from rest_framework.authentication import TokenAuthentication as BaseTokenAuthentication
class TokenAuthentication(BaseTokenAuthentication):
keyword = "Bearer"
class AuthenticationAppConfig(AppConfig):
name = "outbo.apps.authentication"
label = "authentication"
verbose_name = _("Authentication")
default_app_config = "outbo.apps.authentication.AuthenticationAppConfig"