Github   Telegram
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
storages::secdist Namespace Reference

Credentials storage. More...

Classes

class  DefaultLoader
 
class  InvalidSecdistJson
 
class  Secdist
 Client to retrieve credentials from the components::Secdist and to subscribe to their updates. More...
 
class  SecdistConfig
 Client to retrieve credentials from the components::Secdist. More...
 
class  SecdistError
 
class  SecdistProvider
 
class  UnknownMongoDbAlias
 
class  UnknownPostgresDbAlias
 
class  UnknownRedisClientName
 

Enumerations

enum class  SecdistFormat {
  kJson ,
  kYaml
}
 Secdist file format. More...
 

Functions

void ThrowInvalidSecdistType (const formats::json::Value &val, const std::string &type)
 
std::string GetString (const formats::json::Value &parent_val, const std::string &name)
 
int GetInt (const formats::json::Value &parent_val, const std::string &name, int dflt)
 
template<typename T >
GetValue (const formats::json::Value &parent_val, const std::string &key, const T &dflt)
 
void CheckIsObject (const formats::json::Value &val, const std::string &name)
 
void CheckIsArray (const formats::json::Value &val, const std::string &name)
 

Detailed Description

Credentials storage.

Enumeration Type Documentation

◆ SecdistFormat

Secdist file format.

Definition at line 46 of file secdist.hpp.

Function Documentation

◆ GetValue()

template<typename T >
T storages::secdist::GetValue ( const formats::json::Value parent_val,
const std::string &  key,
const T &  dflt 
)

Definition at line 22 of file helpers.hpp.