cp_authenticate.pl -- SWISH login management
This module provides basic login and password management facilities for SWISH. You can create an authenticated SWISH server by
- Loading this library
- Add one or more users to the passwd file using swish_add_user/3
?- swish_add_user("Bob", "Bob's secret", []).
As a result, trying to create the first pengine (e.g., using Run!), the server will challenge the user. The logged in user is available through pengine_user/1.