(plain_password: str, hashed_password: str)
| 44 | |
| 45 | |
| 46 | def verify_password(plain_password: str, hashed_password: str) -> bool: |
| 47 | return pwd_context.verify(plain_password, hashed_password) |
| 48 | |
| 49 | |
| 50 | def authenticate(*, session: Session, email: str, password: str) -> User | None: |
no outgoing calls