17 lines
643 B
Python
17 lines
643 B
Python
|
"""passbook oauth_client urls"""
|
||
|
|
||
|
from django.urls import path
|
||
|
|
||
|
from passbook.oauth_client.source_types.manager import RequestKind
|
||
|
# from passbook.oauth_client.views import core, settings
|
||
|
from passbook.oauth_client.views import dispatcher
|
||
|
|
||
|
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'),
|
||
|
# path('disconnect/<slug:source_slug>/', core.disconnect,
|
||
|
# name='oauth-client-disconnect'),
|
||
|
]
|