diff options
| author | Liam Mitchell <[email protected]> | 2026-03-04 17:31:29 -0800 |
|---|---|---|
| committer | Liam Mitchell <[email protected]> | 2026-03-04 17:31:29 -0800 |
| commit | c852b646f456ea5ec09d875c949d4cfbae46e45a (patch) | |
| tree | 4d9cc4438632f00aa4672f201d603f5aaf035c04 /src/zenserver/storage/projectstore/httpprojectstore.h | |
| parent | Pass command-line OidcToken option through config rather than env variables, ... (diff) | |
| download | zen-c852b646f456ea5ec09d875c949d4cfbae46e45a.tar.xz zen-c852b646f456ea5ec09d875c949d4cfbae46e45a.zip | |
Allow external OidcToken executable to be specified unless disabled via command line or config
Diffstat (limited to 'src/zenserver/storage/projectstore/httpprojectstore.h')
| -rw-r--r-- | src/zenserver/storage/projectstore/httpprojectstore.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/zenserver/storage/projectstore/httpprojectstore.h b/src/zenserver/storage/projectstore/httpprojectstore.h index 5a8bd3c9b..4e7172e75 100644 --- a/src/zenserver/storage/projectstore/httpprojectstore.h +++ b/src/zenserver/storage/projectstore/httpprojectstore.h @@ -45,7 +45,8 @@ public: AuthMgr& AuthMgr, OpenProcessCache& InOpenProcessCache, JobQueue& InJobQueue, - const std::filesystem::path& InOidcTokenExePath); + const std::filesystem::path& InOidcTokenExePath, + bool AllowExternalOidcTokenExe); ~HttpProjectService(); virtual const char* BaseUri() const override; @@ -111,6 +112,7 @@ private: RwLock m_ThreadWorkersLock; Ref<TransferThreadWorkers> m_ThreadWorkers; std::filesystem::path m_OidcTokenExePath; + bool m_AllowExternalOidcTokenExe; Ref<TransferThreadWorkers> GetThreadWorkers(bool BoostWorkers, bool SingleThreaded); }; |