break;
case 'display_auth_form':
// no default implementation, but see AuthBuiltinPlugin::displayAuthForm()
+ // $params can be passed with a 'return_to' attribute
+ // it should return an HTML dialog appened to passed $params['html_snippets']
+ // it may return a redirection URL appened to $params['transparent_redirect_urls']
$this->displayAuthForm($params);
break;
case 'display_create_user_form':
TODO : document user_logo (plugin_hook_by_reference) : returns in params['content']
+TODO : document Auth plugins :
+
+ Hook Name : display_auth_form
+ Parameters : return_to
+ Locations : www/include/login-form.php
+ Description: returns a login dialog and/or a redirect URL :
+ it should return an HTML dialog appened to passed $params['html_snippets']
+ it may return a redirection URL appened to $params['transparent_redirect_urls']
+
-- Roland Mas <lolando@debian.org>
}
/**
- * Display a form to input credentials : default login dialog
+ * Display a form to input credentials : default login dialog ('display_auth_form' hook)
* @param unknown_type $params
* @return boolean
*/