mise en place du système autapp

This commit is contained in:
2024-07-14 15:10:33 +02:00
parent c29e106436
commit e02ae71c48
11 changed files with 80 additions and 0 deletions

8
authapp/urls.py Normal file
View File

@@ -0,0 +1,8 @@
from django.urls import path
from .views import CustomAuthToken, RegenerateTokenView, VerifyTokenView
urlpatterns = [
path('login/', CustomAuthToken.as_view(), name='login'),
path('regenerate-token/', RegenerateTokenView.as_view(), name='regenerate-token'),
path('verify-token/', VerifyTokenView.as_view(), name='verify-token'),
]