Doxygen
This commit is contained in:
parent
5dcc27cd9a
commit
cf9558c0d8
@ -31,7 +31,7 @@
|
|||||||
* @param int $entitytotest Number of instance (always 1 if module multicompany not enabled)
|
* @param int $entitytotest Number of instance (always 1 if module multicompany not enabled)
|
||||||
* @return string Login if OK, '' if KO
|
* @return string Login if OK, '' if KO
|
||||||
*/
|
*/
|
||||||
function check_user_password_empty($usertotest,$passwordtotest)
|
function check_user_password_empty($usertotest,$passwordtotest,$entitytotest)
|
||||||
{
|
{
|
||||||
dol_syslog("functions_empty::check_user_password_empty usertotest=".$usertotest);
|
dol_syslog("functions_empty::check_user_password_empty usertotest=".$usertotest);
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
* @param int $entitytotest Number of instance (always 1 if module multicompany not enabled)
|
* @param int $entitytotest Number of instance (always 1 if module multicompany not enabled)
|
||||||
* @return string Login if OK, '' if KO
|
* @return string Login if OK, '' if KO
|
||||||
*/
|
*/
|
||||||
function check_user_password_forceuser($usertotest,$passwordtotest)
|
function check_user_password_forceuser($usertotest,$passwordtotest,$entitytotest)
|
||||||
{
|
{
|
||||||
// Variable dolibarr_auto_user must be defined in conf.php file
|
// Variable dolibarr_auto_user must be defined in conf.php file
|
||||||
global $dolibarr_auto_user;
|
global $dolibarr_auto_user;
|
||||||
|
|||||||
@ -31,7 +31,7 @@
|
|||||||
* @param int $entitytotest Number of instance (always 1 if module multicompany not enabled)
|
* @param int $entitytotest Number of instance (always 1 if module multicompany not enabled)
|
||||||
* @return string Login if OK, '' if KO
|
* @return string Login if OK, '' if KO
|
||||||
*/
|
*/
|
||||||
function check_user_password_http($usertotest,$passwordtotest)
|
function check_user_password_http($usertotest,$passwordtotest,$entitytotest)
|
||||||
{
|
{
|
||||||
dol_syslog("functions_http::check_user_password_http _SERVER[REMOTE_USER]=".$_SERVER["REMOTE_USER"]);
|
dol_syslog("functions_http::check_user_password_http _SERVER[REMOTE_USER]=".$_SERVER["REMOTE_USER"]);
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
* @param int $entitytotest Number of instance (always 1 if module multicompany not enabled)
|
* @param int $entitytotest Number of instance (always 1 if module multicompany not enabled)
|
||||||
* @return string Login if OK, '' if KO
|
* @return string Login if OK, '' if KO
|
||||||
*/
|
*/
|
||||||
function check_user_password_ldap($usertotest,$passwordtotest)
|
function check_user_password_ldap($usertotest,$passwordtotest,$entitytotest)
|
||||||
{
|
{
|
||||||
global $_POST,$db,$conf,$langs;
|
global $_POST,$db,$conf,$langs;
|
||||||
global $dolibarr_main_auth_ldap_host,$dolibarr_main_auth_ldap_port;
|
global $dolibarr_main_auth_ldap_host,$dolibarr_main_auth_ldap_port;
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
* @param int $entitytotest Number of instance (always 1 if module multicompany not enabled)
|
* @param int $entitytotest Number of instance (always 1 if module multicompany not enabled)
|
||||||
* @return string Login if OK, '' if KO
|
* @return string Login if OK, '' if KO
|
||||||
*/
|
*/
|
||||||
function check_user_password_myopenid($usertotest,$passwordtotest)
|
function check_user_password_myopenid($usertotest,$passwordtotest,$entitytotest)
|
||||||
{
|
{
|
||||||
global $_POST,$db,$conf,$langs;
|
global $_POST,$db,$conf,$langs;
|
||||||
|
|
||||||
|
|||||||
@ -26,10 +26,11 @@
|
|||||||
/**
|
/**
|
||||||
* Check authentication array and set error, errorcode, errorlabel
|
* Check authentication array and set error, errorcode, errorlabel
|
||||||
*
|
*
|
||||||
* @param authentication Array
|
* @param array $authentication Array with authentication informations ('login'=>,'password'=>,'entity'=>,'dolibarrkey'=>)
|
||||||
* @param error
|
* @param int &$error Number of errors
|
||||||
* @param errorcode
|
* @param string &$errorcode Error string code
|
||||||
* @param errorlabel
|
* @param string &$errorlabel Error string label
|
||||||
|
* @return User Return user object identified by login/pass/entity into authentication array
|
||||||
*/
|
*/
|
||||||
function check_authentication($authentication,&$error,&$errorcode,&$errorlabel)
|
function check_authentication($authentication,&$error,&$errorcode,&$errorlabel)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user