forked from Sylius/SyliusUserBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUserEvents.php
42 lines (28 loc) · 1.25 KB
/
UserEvents.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Bundle\UserBundle;
interface UserEvents
{
public const REQUEST_RESET_PASSWORD_TOKEN = 'sylius.user.password_reset.request.token';
public const REQUEST_RESET_PASSWORD_PIN = 'sylius.user.password_reset.request.pin';
public const REQUEST_VERIFICATION_TOKEN = 'sylius.user.email_verification.token';
public const PRE_EMAIL_VERIFICATION = 'sylius.user.pre_email_verification';
public const POST_EMAIL_VERIFICATION = 'sylius.user.post_email_verification';
public const PRE_PASSWORD_RESET = 'sylius.user.pre_password_reset';
public const POST_PASSWORD_RESET = 'sylius.user.post_password_reset';
public const PRE_PASSWORD_CHANGE = 'sylius.user.pre_password_change';
public const POST_PASSWORD_CHANGE = 'sylius.user.post_password_change';
public const SECURITY_IMPERSONATE = 'sylius.user.security.impersonate';
/**
* Occurs when the user is logged in programmatically.
*/
public const SECURITY_IMPLICIT_LOGIN = 'sylius.user.security.implicit_login';
}