diff options
Diffstat (limited to 'src/zen/authutils.h')
| -rw-r--r-- | src/zen/authutils.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/zen/authutils.h b/src/zen/authutils.h index fa9670b3f..fa353ab04 100644 --- a/src/zen/authutils.h +++ b/src/zen/authutils.h @@ -3,7 +3,6 @@ #pragma once #include "zen.h" -#include "zenutil/authutils.h" namespace zen { @@ -45,6 +44,15 @@ struct AuthCommandLineOptions bool Quiet, bool Hidden, bool Verbose); + +private: + void CreateAuthMgr(cxxopts::Options& Ops, + const std::filesystem::path& SystemRootDir, + std::unique_ptr<AuthMgr>& InOutAuth, + bool Quiet, + bool Verbose); + + void LoadOrCreateMachineKey(const std::filesystem::path& AuthDir, bool Quiet); }; std::string ReadAccessTokenFromJsonFile(const std::filesystem::path& Path); |