Coverage for distro_tracker/signon/auth.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 2020-2023 Enrico Zini <enrico@debian.org>
2# Copyright 2023 The Debusine Developers
3# See the COPYRIGHT file at the top-level directory of this distribution
4#
5# This file is part of Distro Tracker. It is subject to the license terms
6# in the LICENSE file found in the top-level directory of this
7# distribution and at https://deb.li/DTLicense. No part of Distro Tracker,
8# including this file, may be copied, modified, propagated, or distributed
9# except according to the terms contained in the LICENSE file.
11"""Authentication backend to mark signon-managed authentication."""
13from django.contrib.auth.backends import ModelBackend
16class SignonAuthBackend(ModelBackend):
17 """
18 Auth backend for external authentication.
20 There is no specific functionality, and it is currently used to mark users
21 authenticated via external signon providers.
22 """
24 pass