Merge pull request #23775 from nextcloud/doc/22221/document-ldap-backend-events

Document the backend registered events of LDAP
This commit is contained in:
Christoph Wurst 2020-10-29 14:05:51 +01:00 committed by GitHub
commit ecdfe961f8
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 */