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.
2020-05-07 18:51:06 +00:00
|
|
|
"""flow urls"""
|
2020-05-07 19:30:52 +00:00
|
|
|
from django.urls import path
|
|
|
|
|
2020-05-08 12:33:14 +00:00
|
|
|
from passbook.flows.views import (
|
|
|
|
AuthenticationView,
|
|
|
|
FactorPermissionDeniedView,
|
|
|
|
FlowExecutorView,
|
|
|
|
)
|
2020-05-07 19:30:52 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
path("auth/process/", AuthenticationView.as_view(), name="auth-process"),
|
|
|
|
path(
|
|
|
|
"auth/process/<slug:factor>/",
|
|
|
|
AuthenticationView.as_view(),
|
|
|
|
name="auth-process",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"auth/process/denied/",
|
|
|
|
FactorPermissionDeniedView.as_view(),
|
|
|
|
name="auth-denied",
|
|
|
|
),
|
2020-05-08 12:33:14 +00:00
|
|
|
path("<slug:flow_slug>/", FlowExecutorView.as_view(), name="flow-executor"),
|
2020-05-07 19:30:52 +00:00
|
|
|
]
|