(
self, plain_password: str, hashed_password: str
)
| 29 | self.password_hash = password_hash # pragma: no cover |
| 30 | |
| 31 | def verify_and_update( |
| 32 | self, plain_password: str, hashed_password: str |
| 33 | ) -> tuple[bool, str | None]: |
| 34 | return self.password_hash.verify_and_update(plain_password, hashed_password) |
| 35 | |
| 36 | def hash(self, password: str) -> str: |
| 37 | return self.password_hash.hash(password) |
no outgoing calls