userver
C++ Async Framework
Loading...
Searching...
No Matches
credentials.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/ydb/credentials.hpp
4
/// @brief @copybrief ydb::CredentialsProviderComponent
5
6
#
include
<
memory
>
7
#
include
<
string
>
8
9
#
include
<
userver
/
components
/
loggable_component_base
.
hpp
>
10
#
include
<
userver
/
yaml_config
/
fwd
.
hpp
>
11
12
namespace
NYdb {
13
class
ICredentialsProviderFactory;
14
}
// namespace NYdb
15
16
USERVER_NAMESPACE_BEGIN
17
18
namespace
ydb {
19
20
class
CredentialsProviderComponent
:
public
components
::
LoggableComponentBase
{
21
public
:
22
using
components
::
LoggableComponentBase
::LoggableComponentBase;
23
24
virtual
std::shared_ptr<NYdb::ICredentialsProviderFactory>
25
CreateCredentialsProviderFactory(
26
const
yaml_config
::
YamlConfig
& credentials)
const
= 0;
27
};
28
29
}
// namespace ydb
30
31
USERVER_NAMESPACE_END
userver
ydb
credentials.hpp
Generated on Wed May 15 2024 22:36:01 for userver by
Doxygen
1.10.0