Mercurial > hg > orthanc-authorization
comparison Plugin/DefaultConfiguration.json @ 79:94c5388ed30b
doc
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 16 Mar 2023 10:39:27 +0100 |
parents | 94a9484d7f8f |
children | 23afe0f2b62b |
comparison
equal
deleted
inserted
replaced
78:a2e5ea1869bd | 79:94c5388ed30b |
---|---|
2 "Authorization" : { | 2 "Authorization" : { |
3 // The Base URL of the auth webservice. This is an alias for all 3 next configurations: | 3 // The Base URL of the auth webservice. This is an alias for all 3 next configurations: |
4 // // "WebServiceUserProfileUrl" : " ROOT /user/get-profile", | 4 // // "WebServiceUserProfileUrl" : " ROOT /user/get-profile", |
5 // // "WebServiceTokenValidationUrl" : " ROOT /tokens/validate", | 5 // // "WebServiceTokenValidationUrl" : " ROOT /tokens/validate", |
6 // // "WebServiceTokenCreationBaseUrl" : " ROOT /tokens/", | 6 // // "WebServiceTokenCreationBaseUrl" : " ROOT /tokens/", |
7 // // "WebServiceTokenDecoderUrl" : " ROOT /tokens/decode", | |
7 // You should define it only if your auth webservice implements all 3 routes ! | 8 // You should define it only if your auth webservice implements all 3 routes ! |
8 // "WebServiceRootUrl" : "http://change-me:8000/", | 9 // "WebServiceRootUrl" : "http://change-me:8000/", |
9 | 10 |
10 // The URL of the auth webservice route implementing user profile (optional) | 11 // The URL of the auth webservice route implementing user profile (optional) |
11 // (this configuration was previously named "WebService" and its old name is still accepted | 12 // (this configuration was previously named "WebService" and its old name is still accepted |
15 // The URL of the auth webservice route implementing resource level authorization (optional) | 16 // The URL of the auth webservice route implementing resource level authorization (optional) |
16 // "WebServiceTokenValidationUrl" : "http://change-me:8000/tokens/validate", | 17 // "WebServiceTokenValidationUrl" : "http://change-me:8000/tokens/validate", |
17 | 18 |
18 // The Base URL of the auth webservice route to create tokens (optional) | 19 // The Base URL of the auth webservice route to create tokens (optional) |
19 // "WebServiceTokenCreationBaseUrl" : "http://change-me:8000/tokens/", | 20 // "WebServiceTokenCreationBaseUrl" : "http://change-me:8000/tokens/", |
21 | |
22 // The URL of the auth webservice route implementing token decoding (optional) | |
23 // "WebServiceTokenDecoderUrl": "http://change-me:8000/tokens/decode" | |
20 | 24 |
21 // The username and password to connect to the webservice (optional) | 25 // The username and password to connect to the webservice (optional) |
22 //"WebServiceUsername": "change-me", | 26 //"WebServiceUsername": "change-me", |
23 //"WebServicePassword": "change-me", | 27 //"WebServicePassword": "change-me", |
24 | 28 |