nextcloud/lib/public/OCM/ICapabilityAwareOCMProvider.php
Enrique Pérez Arnaud 4d56c74ba7
feat(ocm): advertise exchange-token capability and token endpoint
Co-authored-by: Micke Nordin <kano@sunet.se>
Signed-off-by: Micke Nordin <kano@sunet.se>
Signed-off-by: Enrique Pérez Arnaud <enrique@cazalla.net>
2026-06-17 11:01:14 +02:00

38 lines
757 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\OCM;
/**
* Version 1.1 and 1.2 extensions to the Open Cloud Mesh Discovery API
* @link https://github.com/cs3org/OCM-API/
* @since 32.0.0
* @deprecated 33.0.0 {@see IOCMProvider}
*/
interface ICapabilityAwareOCMProvider extends IOCMProvider {
/**
* get the token endpoint URL
*
* @return string
* @since 32.0.0
*/
#[\Override]
public function getTokenEndPoint(): string;
/**
* set the token endpoint URL
*
* @param string $endPoint
*
* @return $this
* @since 32.0.0
*/
#[\Override]
public function setTokenEndPoint(string $endPoint): static;
}