def METHOD_NAME(auth_client):
    user_pass = f"{auth_client.id}:{auth_client.secret}"
    encoded = base64.standard_b64encode(user_pass.encode("utf-8"))
    return {"Authorization": f"Basic {encoded.decode('ascii')}"}