Mercurial > hg > orthanc-authorization
diff Plugin/AuthorizationWebService.h @ 113:43154740ea2e
wip: checking labels
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 05 Sep 2023 12:48:20 +0200 |
parents | 7381a7674b36 |
children | 0eed78c1e177 |
line wrap: on
line diff
--- a/Plugin/AuthorizationWebService.h Thu Aug 31 16:51:15 2023 +0200 +++ b/Plugin/AuthorizationWebService.h Tue Sep 05 12:48:20 2023 +0200 @@ -42,14 +42,13 @@ const std::string& tokenValue) ORTHANC_OVERRIDE; virtual bool GetUserProfileInternal(unsigned int& validity, - UserProfile& profile /* out */, - const Token* token, - const std::string& tokenValue) ORTHANC_OVERRIDE; + UserProfile& profile /* out */, + const Token* token, + const std::string& tokenValue) ORTHANC_OVERRIDE; virtual bool HasUserPermissionInternal(unsigned int& validity, - const std::string& permission, - const Token* token, - const std::string& tokenValue) ORTHANC_OVERRIDE; + const std::string& permission, + const UserProfile& profile) ORTHANC_OVERRIDE; public: AuthorizationWebService(const std::string& tokenValidationUrl,