This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/passbook/oauth_client/urls.py

16 lines
603 B
Python
Raw Normal View History

2018-11-11 12:41:48 +00:00
"""passbook oauth_client urls"""
from django.urls import path
from passbook.oauth_client.source_types.manager import RequestKind
2018-11-22 12:12:24 +00:00
from passbook.oauth_client.views import core, dispatcher
2018-11-11 12:41:48 +00:00
urlpatterns = [
path('login/<slug:source_slug>/', dispatcher.DispatcherView.as_view(
kind=RequestKind.redirect), name='oauth-client-login'),
path('callback/<slug:source_slug>/', dispatcher.DispatcherView.as_view(
kind=RequestKind.callback), name='oauth-client-callback'),
2018-11-22 12:12:24 +00:00
path('disconnect/<slug:source_slug>/', core.DisconnectView.as_view(),
name='oauth-client-disconnect'),
2018-11-11 12:41:48 +00:00
]