ICloudIdManager

interface OCP\Federation\ICloudIdManager
Interface for resolving federated cloud ids
Implemented by:OC\Federation\CloudIdManager
Source:lib/public/Federation/ICloudIdManager.php#36

Methods

public OCP\Federation\ICloudIdManager::resolveCloudId($cloudId)
Source:

lib/public/Federation/ICloudIdManager.php#44

Parameters:
  • $cloudId (string)
Returns:

\OCP\Federation\ICloudId

Throws:

\InvalidArgumentException

Since:

12.0.0

public OCP\Federation\ICloudIdManager::getCloudId($user, $remote)
Get the cloud id for a remote user
Source:

lib/public/Federation/ICloudIdManager.php#55

Parameters:
  • $user (string)
  • $remote (string)
Returns:

\OCP\Federation\ICloudId

Since:

12.0.0

public OCP\Federation\ICloudIdManager::isValidCloudId($cloudId)
Check if the input is a correctly formatted cloud id
Source:

lib/public/Federation/ICloudIdManager.php#65

Parameters:
  • $cloudId (string)
Returns:

bool

Since:

12.0.0