Coverage for /Users/davegaeddert/Development/dropseed/plain/plain-oauth/plain/oauth/urls.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.6.1, created at 2024-10-16 22:04 -0500

1from plain.urls import include, path 

2 

3from . import views 

4 

5default_namespace = "oauth" 

6 

7urlpatterns = [ 

8 path( 

9 "<str:provider>/", 

10 include( 

11 [ 

12 # Login and Signup are both handled here, because the intent is the same 

13 path("login/", views.OAuthLoginView, name="login"), 

14 path("connect/", views.OAuthConnectView, name="connect"), 

15 path( 

16 "disconnect/", 

17 views.OAuthDisconnectView, 

18 name="disconnect", 

19 ), 

20 path("callback/", views.OAuthCallbackView, name="callback"), 

21 ] 

22 ), 

23 ), 

24]