Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/HttpServer/IIncomingHttpRequestFilter.h Thu Dec 03 18:48:06 2020 +0100 +++ b/OrthancFramework/Sources/HttpServer/IIncomingHttpRequestFilter.h Fri Dec 04 18:28:23 2020 +0100 @@ -33,6 +33,9 @@ { } + // New in Orthanc 1.8.1 + virtual bool IsValidBearerToken(const std::string& token) = 0; + virtual bool IsAllowed(HttpMethod method, const char* uri, const char* ip,