CloudIdManager¶
-
class
OC\Federation\
CloudIdManager
¶ Source: lib/private/Federation/CloudIdManager.php#38 Implements: OCP\Federation\ICloudIdManager
Properties¶
Methods¶
-
public
OC\Federation\CloudIdManager::
__construct
($contactsManager)¶ Source: lib/private/Federation/CloudIdManager.php#42
-
public
OC\Federation\CloudIdManager::
resolveCloudId
($cloudId)¶ Source: Parameters: - $cloudId (string)
Returns: Throws: \InvalidArgumentException
-
protected
OC\Federation\CloudIdManager::
getDisplayNameFromContact
($cloudId)¶ Source: lib/private/Federation/CloudIdManager.php#85
-
public
OC\Federation\CloudIdManager::
getCloudId
($user, $remote)¶ Source: Parameters: - $user (string)
- $remote (string)
Returns:
-
protected
OC\Federation\CloudIdManager::
fixRemoteURL
($remote)¶ - Strips away a potential file names and trailing slashes:- http://localhost/index.php/s/{shareToken}all return: http://localhost
Source: Parameters: - $remote (string)
Returns: string
-
public
OC\Federation\CloudIdManager::
isValidCloudId
($cloudId)¶ Source: Parameters: - $cloudId (string)
Returns: bool