1 | <?php |
||
31 | class RaSecondFactorService |
||
32 | { |
||
33 | /** |
||
34 | * @var ApiService |
||
35 | */ |
||
36 | private $apiService; |
||
37 | |||
38 | /** |
||
39 | * @param ApiService $apiService |
||
40 | */ |
||
41 | public function __construct(ApiService $apiService) |
||
45 | |||
46 | /** |
||
47 | * @param RaSecondFactorSearchQuery $query |
||
48 | * @return null|array |
||
49 | * @throws AccessDeniedToResourceException When the consumer isn't authorised to access given resource. |
||
50 | * @throws ResourceReadException When the server doesn't respond with the resource. |
||
51 | * @throws MalformedResponseException When the server doesn't respond with (well-formed) JSON. |
||
52 | */ |
||
53 | public function search(RaSecondFactorSearchQuery $query) |
||
57 | |||
58 | /** |
||
59 | * @param RaSecondFactorExportQuery $query |
||
60 | * @return null|array |
||
61 | * @throws AccessDeniedToResourceException When the consumer isn't authorised to access given resource. |
||
62 | * @throws ResourceReadException When the server doesn't respond with the resource. |
||
63 | * @throws MalformedResponseException When the server doesn't respond with (well-formed) JSON. |
||
64 | */ |
||
65 | public function searchForExport(RaSecondFactorExportQuery $query) |
||
69 | } |
||
70 |