diff Plugin/AuthorizationWebService.h @ 115:0eed78c1e177

cache the UserProfile + updated http filter logic
author Alain Mazy <am@osimis.io>
date Fri, 08 Sep 2023 09:52:21 +0200
parents 43154740ea2e
children 9be1ee2b8fe1
line wrap: on
line diff
--- a/Plugin/AuthorizationWebService.h	Wed Sep 06 17:02:41 2023 +0200
+++ b/Plugin/AuthorizationWebService.h	Fri Sep 08 09:52:21 2023 +0200
@@ -93,5 +93,9 @@
                              const std::string& tokenKey, 
                              const std::string& tokenValue);
 
+    static void ToJson(Json::Value& output, const UserProfile& profile);
+    
+    static void FromJson(UserProfile& profile, const Json::Value& input);
+
   };
 }