mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-20 00:20:47 +00:00
26 lines
448 B
C++
26 lines
448 B
C++
/*
|
|
* Copyright 2019-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.1
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include "utils/loading_cache.hh"
|
|
#include "auth/service.hh"
|
|
|
|
namespace service {
|
|
class storage_proxy;
|
|
}
|
|
|
|
namespace alternator {
|
|
|
|
using key_cache = utils::loading_cache<std::string, std::string, 1>;
|
|
|
|
future<std::string> get_key_from_roles(service::storage_proxy& proxy, std::string username);
|
|
|
|
}
|