Mercurial > hg > orthanc
comparison OrthancFramework/Sources/HttpServer/IIncomingHttpRequestFilter.h @ 4343:e1e918e790e8
New function in the SDK: OrthancPluginGenerateRestApiAuthorizationToken()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 04 Dec 2020 18:28:23 +0100 |
parents | a01b1c9cbef4 |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4342:52166629239f | 4343:e1e918e790e8 |
---|---|
31 public: | 31 public: |
32 virtual ~IIncomingHttpRequestFilter() | 32 virtual ~IIncomingHttpRequestFilter() |
33 { | 33 { |
34 } | 34 } |
35 | 35 |
36 // New in Orthanc 1.8.1 | |
37 virtual bool IsValidBearerToken(const std::string& token) = 0; | |
38 | |
36 virtual bool IsAllowed(HttpMethod method, | 39 virtual bool IsAllowed(HttpMethod method, |
37 const char* uri, | 40 const char* uri, |
38 const char* ip, | 41 const char* ip, |
39 const char* username, | 42 const char* username, |
40 const HttpToolbox::Arguments& httpHeaders, | 43 const HttpToolbox::Arguments& httpHeaders, |