This module provides the generic code to deal with optional login using multiple protocols. Optional means that SWISH may be used both anonymously and after login.
This module cooperates with web/js/login.js. Login providers are defined
using configuration hooks. The various login options are accompagnied by
configuration files in config-available
.
page.pl
to include the login buttons.
At least one of user(User)
or name(Name)
must be present.
The predicate reply_logged_in/1 calls the hook swish_config:reply_logged_in/1. This hook is provided for interacting with a user profile manager.
The following predicates are exported, but not or incorrectly documented.