Skip to content

Commit 31a75d9

Browse files
refactor: Remove unused MfaDeleteAuthenticatorError import from mfa_client and test files
1 parent 038c934 commit 31a75d9

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/auth0_server_python/auth_server/mfa_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
from auth0_server_python.encryption.encrypt import decrypt, encrypt
2222
from auth0_server_python.error import (
2323
MfaChallengeError,
24-
MfaDeleteAuthenticatorError,
2524
MfaEnrollmentError,
2625
MfaListAuthenticatorsError,
2726
MfaRequiredError,
@@ -415,9 +414,10 @@ async def _persist_mfa_tokens(
415414
- 'scope': str (optional) - Scope for token_set
416415
- 'store_options': dict (optional) - Store-specific options
417416
"""
418-
from auth0_server_python.auth_types import TokenSet, StateData
419417
import time
420418

419+
from auth0_server_python.auth_types import StateData, TokenSet
420+
421421
audience = options.get("audience")
422422
scope = options.get("scope")
423423
store_options = options.get("store_options")

src/auth0_server_python/tests/test_mfa_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
)
1717
from auth0_server_python.error import (
1818
MfaChallengeError,
19-
MfaDeleteAuthenticatorError,
2019
MfaEnrollmentError,
2120
MfaListAuthenticatorsError,
2221
MfaRequiredError,

0 commit comments

Comments
 (0)