ActivedirectoryAuthentication
class ActivedirectoryAuthentication extends BaseAuthentication
Constants
| ID_PREFIX |
|
Properties
| protected | $ttl | ||
| array | $user_details | ||
| protected array | $ad_mappings | Map of (additional) Variables from the user info (such as email, telephone, etc.) |
|
| protected array | $group_mappings | Map of AD groups to XELOS groups |
|
| protected adLDAP | $adldap | AD Ldap Object |
|
| protected | $config_id | ||
| protected | $auth_title |
Methods
__construct()
No description
array
addConfigVarsToModuleInfoArray(array $moduleInfo)
Add correct config_var property to module info array
from
BaseAuthentication
bool
authenticate_user(mixed $login, string $password)
Authenticate User
static string
convertFromOldSyntax($auth_method)
Convert xauth_method_name to MethodAuthentication
from
BaseAuthentication
mixed
getAuthConfig(string $config_var)
Return configuration variable for auth method
from
BaseAuthentication
static AuthenticationInterface|null
getAuthMethod(string $auth_method)
Get Auth Method
from
BaseAuthentication
array
get_module_info()
No description
array
get_user_details()
Get User Details
Details
at line 40
__construct()
No description
in
BaseAuthentication at line 78
final protected array
addConfigVarsToModuleInfoArray(array $moduleInfo)
Add correct config_var property to module info array
at line 152
bool
authenticate_user(mixed $login, string $password)
Authenticate User
in
BaseAuthentication at line 59
final static string
convertFromOldSyntax($auth_method)
Convert xauth_method_name to MethodAuthentication
in
BaseAuthentication at line 92
final protected mixed
getAuthConfig(string $config_var)
Return configuration variable for auth method
in
BaseAuthentication at line 102
final static string
getAuthID()
Get internal Auth ID
in
BaseAuthentication at line 32
final static AuthenticationInterface|null
getAuthMethod(string $auth_method)
Get Auth Method
in
BaseAuthentication at line 21
int
getSessionTTL()
No description
at line 393
array
get_module_info()
No description
at line 300
array
get_user_details()
Get User Details
in
BaseAuthentication at line 67
void
onBeforeExecute()
Override in your auth method