We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d91c75 commit 39f7b93Copy full SHA for 39f7b93
django-stubs/contrib/auth/hashers.pyi
@@ -29,9 +29,9 @@ class BasePasswordHasher:
29
salt_entropy: int
30
def salt(self) -> str: ...
31
def verify(self, password: str, encoded: str) -> bool: ...
32
- def encode(self, password: str, salt: str) -> Any: ...
+ def encode(self, password: str, salt: str) -> str: ...
33
def decode(self, encoded: str) -> dict[str, Any]: ...
34
- def safe_summary(self, encoded: str) -> Any: ...
+ def safe_summary(self, encoded: str) -> dict[str, Any]: ...
35
def must_update(self, encoded: str) -> bool: ...
36
def harden_runtime(self, password: str, encoded: str) -> None: ...
37
0 commit comments