def _mock_authenticate_user(_, client=None):
    """Mock Pycognito authenticate user method. This code is from Pycognito's test suite."""
    return {
        "AuthenticationResult": {
            "TokenType": "admin",
            "IdToken": "dummy_token",
            "AccessToken": "dummy_token",
            "RefreshToken": "dummy_token",
        }
    }