comparison Plugin/CachedAuthorizationService.h @ 69:af44dce56328

new 'auth/user-profile' Rest API route
author Alain Mazy <am@osimis.io>
date Mon, 20 Feb 2023 11:56:14 +0100
parents 1a13c4fbc9a1
children 30fb3ce960d9
comparison
equal deleted inserted replaced
68:1a13c4fbc9a1 69:af44dce56328
52 const std::string& tokenValue) ORTHANC_OVERRIDE; 52 const std::string& tokenValue) ORTHANC_OVERRIDE;
53 53
54 virtual bool IsGranted(unsigned int& validity, 54 virtual bool IsGranted(unsigned int& validity,
55 OrthancPluginHttpMethod method, 55 OrthancPluginHttpMethod method,
56 const AccessedResource& access) ORTHANC_OVERRIDE; 56 const AccessedResource& access) ORTHANC_OVERRIDE;
57 }; 57
58 virtual bool GetUserProfile(Json::Value& profile /* out */,
59 const Token& token,
60 const std::string& tokenValue);
61 };
58 } 62 }