def METHOD_NAME(self):
    if self.client.config.api_key:
        return {"Authorization": "ApiKey " + self.client.config.api_key}
    elif self.client.config.secret_token:
        return {"Authorization": "Bearer " + self.client.config.secret_token}
    return {}