Files
sysPass/lib/SP/Providers/Log/LogInterface.php
nuxsmin 3cf75fb6ba * [FIX] Wrong behaviour when requesting user's password change. Thanks to @jorgemfm for the feedback. Closes #1155
* [MOD] Improved events handling by setting fixed events (always triggered)

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-12-16 12:19:53 +01:00

71 lines
1.8 KiB
PHP

<?php
/**
* sysPass
*
* @author nuxsmin
* @link https://syspass.org
* @copyright 2012-2018, Rubén Domínguez nuxsmin@$syspass.org
*
* This file is part of sysPass.
*
* sysPass is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* sysPass is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with sysPass. If not, see <http://www.gnu.org/licenses/>.
*/
namespace SP\Providers\Log;
/**
* Interface LogInterface
*
* @package SP\Providers\Log
*/
interface LogInterface
{
const EVENTS = [
'show.',
'create.',
'delete.',
'edit.',
'exception',
'save.',
'show.account.pass',
'show.account.link',
'copy.account.pass',
'login.',
'logout',
'track.',
'check.tempMasterPassword',
'expire.tempMasterPassword',
'update.',
'import.ldap.',
'run.',
'send.mail',
'unlock.track',
];
const EVENTS_FIXED = [
'upgrade.',
'acl.deny',
'plugin.load.error',
'show.authToken',
'clear.eventlog',
'clear.track',
'refresh.masterPassword',
'update.masterPassword.start',
'update.masterPassword.end',
'request.account',
'edit.user.password',
'save.config.',
'create.tempMasterPassword'
];
}