comparison Sphinx/source/plugins/authorization.rst @ 449:2922fb1bd65e

fix links
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 03 Jul 2020 09:33:10 +0200
parents 84e3a2612c36
children 6a3d48510b0b
comparison
equal deleted inserted replaced
447:74fc0203d882 449:2922fb1bd65e
11 the plugin will query a Web service to know whether the access is 11 the plugin will query a Web service to know whether the access is
12 granted to the user. If access is not granted, the HTTP status code is 12 granted to the user. If access is not granted, the HTTP status code is
13 set to ``403`` (Forbidden). 13 set to ``403`` (Forbidden).
14 14
15 The `source code of this plugin 15 The `source code of this plugin
16 <https://hg.orthanc-server.com/orthanc-authorization/file/tip>`__ is 16 <https://hg.orthanc-server.com/orthanc-authorization/file/default>`__ is
17 freely available under the terms of the AGPLv3 license. 17 freely available under the terms of the AGPLv3 license.
18 18
19 19
20 Compilation 20 Compilation
21 ----------- 21 -----------
181 * ``validity`` tells the authorization plugin for how many seconds the 181 * ``validity`` tells the authorization plugin for how many seconds the
182 result of the Web service must be cached. If set to ``0`` second, 182 result of the Web service must be cached. If set to ``0`` second,
183 the cache entry will never expire. 183 the cache entry will never expire.
184 184
185 **Note:** The source code of the plugin contains a `basic example 185 **Note:** The source code of the plugin contains a `basic example
186 <https://hg.orthanc-server.com/orthanc-authorization/file/tip/Resources/TestService.js>`__ 186 <https://hg.orthanc-server.com/orthanc-authorization/file/default/Resources/TestService.js>`__
187 of such a Web service written in node.js. 187 of such a Web service written in node.js.
188 188
189 189
190 Authentication tokens 190 Authentication tokens
191 ^^^^^^^^^^^^^^^^^^^^^ 191 ^^^^^^^^^^^^^^^^^^^^^