Skip to content

Commit

Permalink
Update type hints of contrib.auth.hashers (#1955)
Browse files Browse the repository at this point in the history
  • Loading branch information
yhay81 authored Feb 18, 2024
1 parent 1d91c75 commit 39f7b93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django-stubs/contrib/auth/hashers.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ class BasePasswordHasher:
salt_entropy: int
def salt(self) -> str: ...
def verify(self, password: str, encoded: str) -> bool: ...
def encode(self, password: str, salt: str) -> Any: ...
def encode(self, password: str, salt: str) -> str: ...
def decode(self, encoded: str) -> dict[str, Any]: ...
def safe_summary(self, encoded: str) -> Any: ...
def safe_summary(self, encoded: str) -> dict[str, Any]: ...
def must_update(self, encoded: str) -> bool: ...
def harden_runtime(self, password: str, encoded: str) -> None: ...

Expand Down

0 comments on commit 39f7b93

Please sign in to comment.