def multi_auth(request, response, verify_user, **kwargs):
    """API Key Authentication or JWT Token Authentication

    Checks for the Authorization header and verifies using the verify_user function
    """
    token = request.get_header('Authorization')
    api_key = request.get_header('X-Api-Key')
    if token or api_key:
        user = verify_user(token, api_key)
        return user if user else False
    return None