nextcloud-server/lib/public/Security/Events
..
GenerateSecurePasswordEvent.php
ValidatePasswordPolicyEvent.php