Mercurial > hg > orthanc-authorization
comparison Plugin/CachedAuthorizationService.cpp @ 109:7381a7674b36
wip: adding labels
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 18 Aug 2023 12:08:49 +0200 |
parents | e381ba725669 |
children | 43154740ea2e |
comparison
equal
deleted
inserted
replaced
108:68ce6fd8b22a | 109:7381a7674b36 |
---|---|
111 } | 111 } |
112 } | 112 } |
113 | 113 |
114 | 114 |
115 bool CachedAuthorizationService::GetUserProfileInternal(unsigned int& validity, | 115 bool CachedAuthorizationService::GetUserProfileInternal(unsigned int& validity, |
116 Json::Value& profile /* out */, | 116 UserProfile& profile /* out */, |
117 const Token* token, | 117 const Token* token, |
118 const std::string& tokenValue) | 118 const std::string& tokenValue) |
119 { | 119 { |
120 // no cache used when retrieving the full user profile | 120 // no cache used when retrieving the full user profile |
121 return decorated_->GetUserProfileInternal(validity, profile, token, tokenValue); | 121 return decorated_->GetUserProfileInternal(validity, profile, token, tokenValue); |