3.7 library(http/http_authenticate): Authenticate HTTP connections using 401 headers
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog HTTP support
The HTTP server libraries
library(http/http_authenticate): Authenticate HTTP connections using 401 headers
http_authenticate/3
http_authorization_data/2
http_current_user/3
http_read_passwd_file/2
http_write_passwd_file/2
authenticate/3
Availability:
:- use_module(
library(http/http_authenticate)
).
[det]
http_write_passwd_file
(
+File, +Data:list
)
Write password data
Data
to
File
.
Data
is a list of entries as below. See
http_read_passwd_file/2
for details.
passwd(User, Hash, Fields)
To be done
Write to a new file and atomically replace the old one.