(plain_password, hashed_password)
| 33 | |
| 34 | # Verify hashed password |
| 35 | def verify_password(plain_password, hashed_password): |
| 36 | return pwd_context.verify(plain_password, hashed_password) |
| 37 | |
| 38 | # Create an access token |
| 39 | def create_access_token(data: dict, expires_delta: timedelta = None): |