clang format, based on cpprest
This commit is contained in:
@ -6,11 +6,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "nlohmann/json.hpp"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "nlohmann/json.hpp"
|
||||
|
||||
namespace snake
|
||||
{
|
||||
struct AppConfig
|
||||
@ -31,16 +30,11 @@ namespace snake
|
||||
bool verbose;
|
||||
};
|
||||
|
||||
bool isAppKeyValid(
|
||||
const AppConfig& appConfig,
|
||||
std::string appkey);
|
||||
bool isAppKeyValid(const AppConfig& appConfig, std::string appkey);
|
||||
|
||||
std::string getRoleSecret(
|
||||
const AppConfig& appConfig,
|
||||
std::string appkey,
|
||||
std::string role);
|
||||
std::string getRoleSecret(const AppConfig& appConfig, std::string appkey, std::string role);
|
||||
|
||||
std::string generateNonce();
|
||||
|
||||
void dumpConfig(const AppConfig& appConfig);
|
||||
}
|
||||
} // namespace snake
|
||||
|
Reference in New Issue
Block a user