2019-05-28 11:56:01 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2019-05-28 11:56:01 -04:00
|
|
|
*/
|
|
|
|
|
namespace OC\Authentication\Events;
|
|
|
|
|
|
|
|
|
|
use OC\Authentication\Token\IToken;
|
|
|
|
|
use OCP\EventDispatcher\Event;
|
|
|
|
|
|
|
|
|
|
abstract class ARemoteWipeEvent extends Event {
|
2025-11-17 09:32:54 -05:00
|
|
|
public function __construct(
|
|
|
|
|
private IToken $token,
|
|
|
|
|
) {
|
2019-05-28 11:56:01 -04:00
|
|
|
parent::__construct();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function getToken(): IToken {
|
|
|
|
|
return $this->token;
|
|
|
|
|
}
|
|
|
|
|
}
|