dolibarr  20.0.0-alpha
Functions
functions_openid.php File Reference

Authentication functions for OpenId mode. More...

Go to the source code of this file.

Functions

 check_user_password_openid ($usertotest, $passwordtotest, $entitytotest)
 Check validity of user/password/entity If test is ko, reason must be filled into $_SESSION["dol_loginmesg"]. More...
 

Detailed Description

Authentication functions for OpenId mode.

This authentication method is based on "OpenID v2" and is deprecated. Use instead the method "OpenID Connect".

Definition in file functions_openid.php.

Function Documentation

◆ check_user_password_openid()

check_user_password_openid (   $usertotest,
  $passwordtotest,
  $entitytotest 
)

Check validity of user/password/entity If test is ko, reason must be filled into $_SESSION["dol_loginmesg"].

Parameters
string$usertotestLogin
string$passwordtotestPassword
int$entitytotestNumber of instance (always 1 if module multicompany not enabled)
Returns
string|false Login if OK, false otherwise

Definition at line 40 of file functions_openid.php.