-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathAuthModule.php
More file actions
55 lines (48 loc) · 1.36 KB
/
AuthModule.php
File metadata and controls
55 lines (48 loc) · 1.36 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
* This file is auto-generated.
*/
namespace Openprovider\Api\Rest\Client\Auth;
use GuzzleHttp\ClientInterface;
use Openprovider\Api\Rest\Client\Base\Configuration;
use Openprovider\Api\Rest\Client\Base\HeaderSelector;
use Openprovider\Api\Rest\Client\Auth\Api\AuthApi;
use Openprovider\Api\Rest\Client\Auth\Api\SpamExpertApi;
class AuthModule
{
/** @var AuthApi */
protected $AuthApi;
/** @var SpamExpertApi */
protected $SpamExpertApi;
/**
* @param ClientInterface $client
* @param Configuration $config
* @param HeaderSelector $selector
* @param int $host_index (Optional) host index to select the list of hosts if defined in the OpenAPI spec
*/
public function __construct(
?ClientInterface $client = null,
?Configuration $config = null,
?HeaderSelector $selector = null,
$host_index = 0
) {
$this->AuthApi = new AuthApi($client, $config, $selector, $host_index);
$this->SpamExpertApi = new SpamExpertApi($client, $config, $selector, $host_index);
}
/**
* Gets AuthApi api.
* @return AuthApi
*/
public function getAuthApi()
{
return $this->AuthApi;
}
/**
* Gets SpamExpertApi api.
* @return SpamExpertApi
*/
public function getSpamExpertApi()
{
return $this->SpamExpertApi;
}
}