
http_authenticate.pl -- SWISH login managementThis module provides basic login and password management facilities for SWISH. You can create an authenticated SWISH server by
?- swish_add_user. User name: Bob Real name: Bob de Bouwer Group: user E-mail: bob@bouwer.com Password: (again): true.
Authentication is by default based on HTTP digest authentication, which uses a challenge-response to avoid exchanging the plain password and uses sequence numbers to avoid replaying actions. This basically protects non-authorized users from entering commands, but does not encrypt the communication.
login(+Request, -User) is det
swish_config:config(?Key, ?Value, +Options) is nondet[multifile]update in login.js which calls
the HTTP handler user_info.
swish_config:authenticate(+Request, -User)[multifile]
swish_current_user(?User, -Dict) is nondet
swish_logged_in(+Request, -User, -UserData) is semidet
swish_config:login_item(-Server, -Item)[multifile]
swish_config:login(+Server, +Request)[multifile]
swish_config:user_info(+Request, -Server, -UserInfo) is semidet[multifile]
swish_add_user(+User, +Passwd, +Fields) is det
swish_add_user
swish_add_user(+Data:dict) is det