From d8c814335cb93411b0f4d14d23ea8269577e0577 Mon Sep 17 00:00:00 2001 From: Bryann Valderrama Date: Fri, 31 May 2024 16:15:18 -0500 Subject: [PATCH] chore: remove edx_auth_i_v1 backend --- .../edxapp_wrapper/backends/edx_auth_i_v1.py | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 eox_tenant/edxapp_wrapper/backends/edx_auth_i_v1.py diff --git a/eox_tenant/edxapp_wrapper/backends/edx_auth_i_v1.py b/eox_tenant/edxapp_wrapper/backends/edx_auth_i_v1.py deleted file mode 100644 index 24d9c311..00000000 --- a/eox_tenant/edxapp_wrapper/backends/edx_auth_i_v1.py +++ /dev/null @@ -1,15 +0,0 @@ -""" Backend abstraction. """ -from openedx.core.djangoapps.oauth_dispatch.dot_overrides.backends import ( # pylint: disable=import-error - EdxRateLimitedAllowAllUsersModelBackend, -) -from openedx.core.djangoapps.user_authn.exceptions import AuthFailedError # pylint: disable=import-error - - -def get_edx_auth_backend(): - """ Backend to get the default edx auth backend. """ - return EdxRateLimitedAllowAllUsersModelBackend - - -def get_edx_auth_failed(): - """ Backend to get the AuthFailedError class. """ - return AuthFailedError