nextcloud/lib/unstable/Security/Signature/Enum/SignatoryStatus.php
Maxence Lange 327d691c23 feat(signed-request): moving out of unstable
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2026-01-09 20:16:24 -01:00

31 lines
686 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace NCU\Security\Signature\Enum;
/**
* current status of signatory. is it trustable or not ?
*
* - SYNCED = the remote instance is trustable.
* - BROKEN = the remote instance does not use the same key pairs than previously
*
* @experimental 31.0.0
* @deprecated 33.0.0 use {@see \OCP\Security\Signature\Enum\SignatoryStatus}
*/
enum SignatoryStatus: int {
/**
* @experimental 31.0.0
* @deprecated 33.0.0
*/
case SYNCED = 1;
/**
* @experimental 31.0.0
* @deprecated 33.0.0
*/
case BROKEN = 9;
}