aboutsummaryrefslogtreecommitdiff
path: root/src/zen/authutils.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-10-06 10:30:44 +0200
committerGitHub Enterprise <[email protected]>2025-10-06 10:30:44 +0200
commit0d8e54e660560264df4a9b096867cb9b68d99a00 (patch)
tree5f90099d4447c0a007b01b156dd69d04d74170d1 /src/zen/authutils.cpp
parentspeed up tests (#555) (diff)
downloadarchived-zen-0d8e54e660560264df4a9b096867cb9b68d99a00.tar.xz
archived-zen-0d8e54e660560264df4a9b096867cb9b68d99a00.zip
added Hidden option to oidctoken creation with oidc token exe (#556)
Diffstat (limited to 'src/zen/authutils.cpp')
-rw-r--r--src/zen/authutils.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/zen/authutils.cpp b/src/zen/authutils.cpp
index 69ea3f9c2..bc185535b 100644
--- a/src/zen/authutils.cpp
+++ b/src/zen/authutils.cpp
@@ -146,7 +146,8 @@ AuthCommandLineOptions::ParseOptions(cxxopts::Options& Ops,
HttpClientSettings& ClientSettings,
std::string_view HostUrl,
std::unique_ptr<AuthMgr>& Auth,
- bool Quiet)
+ bool Quiet,
+ bool Hidden)
{
auto CreateAuthMgr = [&]() {
ZEN_ASSERT(!SystemRootDir.empty());
@@ -234,7 +235,7 @@ AuthCommandLineOptions::ParseOptions(cxxopts::Options& Ops,
else if (std::filesystem::path OidcTokenExePath = FindOidcTokenExePath(m_OidcTokenAuthExecutablePath); !OidcTokenExePath.empty())
{
ClientSettings.AccessTokenProvider =
- httpclientauth::CreateFromOidcTokenExecutable(OidcTokenExePath, HostUrl, Quiet, m_OidcTokenUnattended);
+ httpclientauth::CreateFromOidcTokenExecutable(OidcTokenExePath, HostUrl, Quiet, m_OidcTokenUnattended, Hidden);
}
if (!ClientSettings.AccessTokenProvider)