Mercurial > hg > orthanc
changeset 6101:7eaee38747ab
doc Authorization header
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Tue, 29 Apr 2025 15:24:56 +0200 |
parents | 554b081d8df4 |
children | a0fec542812e |
files | OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h Thu Apr 10 12:14:17 2025 +0200 +++ b/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h Tue Apr 29 15:24:56 2025 +0200 @@ -1509,6 +1509,10 @@ * concurrently by different threads of the Web server of * Orthanc. You must implement proper locking if applicable. * + * Note that if you are using HTTP basic authentication, you can extract + * the username from the "Authorization" HTTP header. The value of that header + * contains username:pwd encoded in base64. + * * @param method The HTTP method used by the request. * @param uri The URI of interest. * @param ip The IP address of the HTTP client.