def filter_user_attempts(request: AxesHttpRequest, credentials: dict = None) -> QuerySet:
username = get_client_username(request, credentials)<EOL>filter_kwargs = get_client_parameters(username, request.axes_ip_address, request.axes_user_agent)<EOL>return AccessAttempt.objects.filter(**filter_kwargs)<EOL>
Return a queryset of AccessAttempts that match the given request and credentials.