Authentication
Reset Password
Reset password using a valid reset token.
Validates the token, updates the password, and invalidates all refresh tokens.
Args: request: Reset token and new password. reset_service: Password reset service dependency.
Returns: Success message.
Raises: HTTPException: 400 if token is invalid, expired, or already used.
POST
Reset Password
Previous
Verify Reset TokenVerify if a password reset token is valid without using it.
Used by frontend to pre-validate the token before showing the reset form.
Args:
token: The reset token to verify.
reset_service: Password reset service dependency.
Returns:
Token validity status and expiration time.
Next
Reset Password