diff Plugin/BaseAuthorizationService.h @ 109:7381a7674b36

wip: adding labels
author Alain Mazy <am@osimis.io>
date Fri, 18 Aug 2023 12:08:49 +0200
parents aa73b10c2db9
children 43154740ea2e
line wrap: on
line diff
--- a/Plugin/BaseAuthorizationService.h	Mon Aug 14 10:25:40 2023 +0200
+++ b/Plugin/BaseAuthorizationService.h	Fri Aug 18 12:08:49 2023 +0200
@@ -36,7 +36,7 @@
                                    const std::string& tokenValue) = 0;
     
     virtual bool GetUserProfileInternal(unsigned int& validity,
-                                        Json::Value& profile /* out */,
+                                        UserProfile& profile /* out */,
                                         const Token* token,
                                         const std::string& tokenValue) = 0;
 
@@ -67,7 +67,7 @@
     }
 
     virtual bool GetUserProfile(unsigned int& validity,
-                                Json::Value& profile /* out */,
+                                UserProfile& profile /* out */,
                                 const Token& token,
                                 const std::string& tokenValue)
     {
@@ -75,7 +75,7 @@
     }
 
     virtual bool GetAnonymousUserProfile(unsigned int& validity /* out */,
-                                         Json::Value& profile /* out */)
+                                         UserProfile& profile /* out */)
     {
       return GetUserProfileInternal(validity, profile, NULL, "");
     }