Elgg  Version 6.1
pam.php
Go to the documentation of this file.
1 <?php
31 function elgg_register_pam_handler($handler, string $importance = 'sufficient', string $policy = 'user'): bool {
32  return _elgg_services()->authentication->registerHandler($handler, $importance, $policy);
33 }
34 
44 function elgg_unregister_pam_handler($handler, string $policy = 'user'): void {
45  _elgg_services()->authentication->unregisterHandler($handler, $policy);
46 }
47 
58 function elgg_pam_authenticate(string $policy, array $authentication_params = []): bool {
59  return _elgg_services()->authentication->authenticate($policy, $authentication_params);
60 }
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is void
Definition: LICENSE.txt:215
elgg_pam_authenticate(string $policy, array $authentication_params=[])
Start an authentication process.
Definition: pam.php:58
_elgg_services()
Get the global service provider.
Definition: elgglib.php:353
elgg_unregister_pam_handler($handler, string $policy= 'user')
Unregisters a PAM handler.
Definition: pam.php:44
$handler
Definition: add.php:7
elgg_register_pam_handler($handler, string $importance= 'sufficient', string $policy= 'user')
Elgg Simple PAM library Contains functions for managing authentication.
Definition: pam.php:31