Mercurial > hg > orthanc-authorization
comparison 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 |
comparison
equal
deleted
inserted
replaced
114:546aea509427 | 115:0eed78c1e177 |
---|---|
91 | 91 |
92 virtual bool DecodeToken(DecodedToken& response, | 92 virtual bool DecodeToken(DecodedToken& response, |
93 const std::string& tokenKey, | 93 const std::string& tokenKey, |
94 const std::string& tokenValue); | 94 const std::string& tokenValue); |
95 | 95 |
96 static void ToJson(Json::Value& output, const UserProfile& profile); | |
97 | |
98 static void FromJson(UserProfile& profile, const Json::Value& input); | |
99 | |
96 }; | 100 }; |
97 } | 101 } |