aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Federation
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2023-06-28 09:27:55 -0100
committerMaxence Lange <maxence@artificial-owl.com>2023-06-28 09:28:03 -0100
commitd2efd0e03cb0f30b748b86c324fc574e603334aa (patch)
tree573612743cd7e60ad8f14b1426ef7735cdae7617 /lib/public/Federation
parent266436b76788d14e061bbe1f013bc052edc8041f (diff)
downloadnextcloud-server-d2efd0e03cb0f30b748b86c324fc574e603334aa.tar.gz
nextcloud-server-d2efd0e03cb0f30b748b86c324fc574e603334aa.zip
displayname on federated shares
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/public/Federation')
-rw-r--r--lib/public/Federation/ICloudIdManager.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/Federation/ICloudIdManager.php b/lib/public/Federation/ICloudIdManager.php
index 1612c03ba4a..52920751739 100644
--- a/lib/public/Federation/ICloudIdManager.php
+++ b/lib/public/Federation/ICloudIdManager.php
@@ -62,4 +62,14 @@ interface ICloudIdManager {
* @since 12.0.0
*/
public function isValidCloudId(string $cloudId): bool;
+
+ /**
+ * remove scheme/protocol from an url
+ *
+ * @param string $url
+ *
+ * @return string
+ * @since 28.0.0
+ */
+ public function removeProtocolFromUrl(string $url): string;
}