Coverage for distro_tracker/signon/tracker_urls.py: 100%
4 statements
« prev ^ index » next coverage.py v6.5.0, created at 2025-01-12 09:15 +0000
« prev ^ index » next coverage.py v6.5.0, created at 2025-01-12 09:15 +0000
1# Copyright 2024 The Debusine Developers
2# See the COPYRIGHT file at the top-level directory of this distribution
3#
4# This file is part of Distro Tracker. It is subject to the license terms
5# in the LICENSE file found in the top-level directory of this
6# distribution and at https://deb.li/DTLicense. No part of Distro Tracker,
7# including this file, may be copied, modified, propagated, or distributed
8# except according to the terms contained in the LICENSE file.
10"""debusine signon URLs Configuration."""
11from django.urls import path
13from distro_tracker.signon.views import (
14 BindIdentityView,
15 OIDCAuthenticationCallbackView,
16)
18urlpatterns = [
19 path(
20 "oidc_callback/<name>/",
21 OIDCAuthenticationCallbackView.as_view(),
22 name="oidc_callback",
23 ),
24 path(
25 "bind_identity/<name>/",
26 BindIdentityView.as_view(),
27 name="bind_identity",
28 ),
29]