Analyzer.php
1 year ago
ClosureContext.php
2 years ago
ClosureScope.php
2 years ago
ClosureStream.php
1 year ago
ISecurityProvider.php
2 years ago
ReflectionClosure.php
1 year ago
SecurityException.php
2 years ago
SecurityProvider.php
1 year ago
SelfReference.php
2 years ago
SerializableClosure.php
1 year ago
ISecurityProvider.php
25 lines
| 1 | <?php |
| 2 | |
| 3 | /* =========================================================================== |
| 4 | * Copyright (c) 2018-2021 Zindex Software |
| 5 | * |
| 6 | * Licensed under the MIT License |
| 7 | * =========================================================================== */ |
| 8 | namespace Matomo\Dependencies\Opis\Closure; |
| 9 | |
| 10 | interface ISecurityProvider |
| 11 | { |
| 12 | /** |
| 13 | * Sign serialized closure |
| 14 | * @param string $closure |
| 15 | * @return array |
| 16 | */ |
| 17 | public function sign($closure); |
| 18 | /** |
| 19 | * Verify signature |
| 20 | * @param array $data |
| 21 | * @return bool |
| 22 | */ |
| 23 | public function verify(array $data); |
| 24 | } |
| 25 |