Merge pull request #23779 from nextcloud/backport/23775/stable20

[stable20] Document the backend registered events of LDAP
This commit is contained in:
Morris Jobke 2020-10-29 15:08:37 +01:00 committed by GitHub
commit ebbb4857f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -30,6 +30,11 @@ use OCA\User_LDAP\GroupPluginManager;
use OCA\User_LDAP\IGroupLDAP; use OCA\User_LDAP\IGroupLDAP;
use OCP\EventDispatcher\Event; use OCP\EventDispatcher\Event;
/**
* This event is triggered right after the LDAP group backend is registered.
*
* @since 20.0.0
*/
class GroupBackendRegistered extends Event { class GroupBackendRegistered extends Event {
/** @var GroupPluginManager */ /** @var GroupPluginManager */

View File

@ -30,6 +30,11 @@ use OCA\User_LDAP\IUserLDAP;
use OCA\User_LDAP\UserPluginManager; use OCA\User_LDAP\UserPluginManager;
use OCP\EventDispatcher\Event; use OCP\EventDispatcher\Event;
/**
* This event is triggered right after the LDAP user backend is registered.
*
* @since 20.0.0
*/
class UserBackendRegistered extends Event { class UserBackendRegistered extends Event {
/** @var IUserLDAP */ /** @var IUserLDAP */