aboutsummaryrefslogtreecommitdiff
path: root/zenserver/auth/authmgr.h
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2022-02-02 16:56:38 +0100
committerPer Larsson <[email protected]>2022-02-02 16:56:38 +0100
commit5b7c068b482b563443320453064fe5fa5601d446 (patch)
tree3309bc01ef5ab2f4d08580b5e6c1098c6b45570b /zenserver/auth/authmgr.h
parentParse expire time from OpenID refresh token and added OpenId token provider. (diff)
downloadzen-5b7c068b482b563443320453064fe5fa5601d446.tar.xz
zen-5b7c068b482b563443320453064fe5fa5601d446.zip
Added upstream auth config and removed the possibility to add endpoints via REST.
Diffstat (limited to 'zenserver/auth/authmgr.h')
-rw-r--r--zenserver/auth/authmgr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zenserver/auth/authmgr.h b/zenserver/auth/authmgr.h
index 59dc1725d..355c25cc9 100644
--- a/zenserver/auth/authmgr.h
+++ b/zenserver/auth/authmgr.h
@@ -42,6 +42,7 @@ public:
struct AuthConfig
{
std::filesystem::path RootDirectory;
+ std::chrono::seconds UpdateInterval{30};
};
std::unique_ptr<AuthMgr> MakeAuthMgr(const AuthConfig& Config);