/* * Copyright 2019-present ScyllaDB */ /* * SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0 */ #pragma once #include #include "utils/loading_cache.hh" #include "auth/service.hh" namespace service { class storage_proxy; } namespace alternator { using key_cache = utils::loading_cache; future get_key_from_roles(service::storage_proxy& proxy, auth::service& as, std::string username); }