MCPcopy Create free account
hub / github.com/0010aor/FlashNotes / verify_password

Function verify_password

backend/src/auth/services.py:46–47  ·  view source on GitHub ↗
(plain_password: str, hashed_password: str)

Source from the content-addressed store, hash-verified

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

Callers 3

test_register_userFunction · 0.90
test_update_userFunction · 0.90
authenticateFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_register_userFunction · 0.72
test_update_userFunction · 0.72