1 | <?php |
||
5 | class WhiteList extends AbstractAccessList |
||
6 | { |
||
7 | /** |
||
8 | * WhiteList constructor. |
||
9 | * |
||
10 | * @param $request |
||
11 | */ |
||
12 | 12 | public function __construct($request) |
|
16 | |||
17 | /** |
||
18 | * @throws \Exception |
||
19 | * |
||
20 | * @return bool |
||
21 | */ |
||
22 | 3 | public function isWhiteListed(): bool |
|
42 | |||
43 | /** |
||
44 | * @throws \Exception |
||
45 | * |
||
46 | * @return bool |
||
47 | */ |
||
48 | 4 | public function isUsernameWhiteListed(): bool |
|
52 | |||
53 | /** |
||
54 | * @throws \Exception |
||
55 | * |
||
56 | * @return bool |
||
57 | */ |
||
58 | 4 | public function isUserIdWhiteListed(): bool |
|
62 | |||
63 | /** |
||
64 | * @throws \Exception |
||
65 | * |
||
66 | * @return bool |
||
67 | */ |
||
68 | 6 | public function isEmailWhiteListed() |
|
72 | } |
||
73 |