def METHOD_NAME(user_with_token):
    def append_header(headers=None):
        headers = headers or {}
        _, token = user_with_token
        headers["Authorization"] = f"Bearer {token.value}"
        return headers
    return append_header