
login.pl -- SWISH login supportThis 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.
 swish_config:li_login_button(+Options)//[multifile]page.pl to include the login buttons.
 login_button(+Options)//
 reply_logged_in(+Options) is det
 reply_logged_in_page(+Options) is det
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.
 login_continue_button//
 reply_logged_out(+Options)
 swish_login(+Request)[private]data-server attribute.
 user_info(+Request)[private]update() from login.js.
 current_user_info(+Request, -Info) is semidetThe following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.
 reply_logged_in(+Options) is det
 reply_logged_in_page(+Options) is det
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.
 reply_logged_out_page(Arg1)