File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
advanced_alchemy/types/password_hash Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 10
10
from argon2 import PasswordHasher as Argon2PasswordHasher # pyright: ignore
11
11
from argon2 .exceptions import InvalidHash , VerifyMismatchError # pyright: ignore
12
12
13
+ __all__ = ("Argon2Hasher" ,)
14
+
13
15
14
16
class Argon2Hasher (HashingBackend ):
15
17
"""Hashing backend using Argon2 via the argon2-cffi library."""
Original file line number Diff line number Diff line change 9
9
if TYPE_CHECKING :
10
10
from sqlalchemy import BinaryExpression , ColumnElement
11
11
12
+ __all__ = ("PasslibHasher" ,)
13
+
12
14
13
15
class PasslibHasher (HashingBackend ):
14
16
"""Hashing backend using Passlib.
Original file line number Diff line number Diff line change 9
9
10
10
from pwdlib .hashers .base import HasherProtocol
11
11
12
+ __all__ = ("PwdlibHasher" ,)
13
+
12
14
13
15
class PwdlibHasher (HashingBackend ):
14
16
"""Hashing backend using Pwdlib."""
You can’t perform that action at this time.
0 commit comments