0
0
mirror of https://github.com/nextcloud/server.git synced 2024-11-14 04:16:59 +00:00
nextcloud_server/lib/public/Federation/ICloudId.php
Andy Scherzinger dae7c159f7
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-24 13:11:22 +02:00

49 lines
787 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\Federation;
/**
* Parsed federated cloud id
*
* @since 12.0.0
*/
interface ICloudId {
/**
* The remote cloud id
*
* @return string
* @since 12.0.0
*/
public function getId(): string;
/**
* Get a clean representation of the cloud id for display
*
* @return string
* @since 12.0.0
*/
public function getDisplayId(): string;
/**
* The username on the remote server
*
* @return string
* @since 12.0.0
*/
public function getUser(): string;
/**
* The base address of the remote server
*
* @return string
* @since 12.0.0
*/
public function getRemote(): string;
}