| 1 | <?php |
||
| 23 | class SecurityEvent extends AbstractEvent |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $apiUser; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | protected $apiKey; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | protected $sessionId; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param RemoteAdapterInterface $remoteAdapter |
||
| 42 | * @param string $apiUser |
||
| 43 | * @param string $apiKey |
||
| 44 | * @param string $sessionId |
||
| 45 | */ |
||
| 46 | public function __construct(RemoteAdapterInterface $remoteAdapter, $apiUser, $apiKey, $sessionId = null) |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param string $apiUser |
||
| 56 | */ |
||
| 57 | public function setApiUser($apiUser) |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return string |
||
| 64 | */ |
||
| 65 | public function getApiUser() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * @param string $apiKey |
||
| 72 | */ |
||
| 73 | public function setApiKey($apiKey) |
||
| 77 | |||
| 78 | /** |
||
| 79 | * @return string |
||
| 80 | */ |
||
| 81 | public function getApiKey() |
||
| 85 | |||
| 86 | /** |
||
| 87 | * @param string $sessionId |
||
| 88 | */ |
||
| 89 | public function setSessionId($sessionId) |
||
| 93 | |||
| 94 | /** |
||
| 95 | * @return string |
||
| 96 | */ |
||
| 97 | public function getSessionId() |
||
| 101 | } |
||
| 102 |