ICloudFederationProvider¶
-
interface
OCP\Federation\
ICloudFederationProvider
¶ - Interface ICloudFederationProviderEnable apps to create their own cloud federation provider
Source: lib/public/Federation/ICloudFederationProvider.php#42
Methods¶
- get the name of the share type, handled by this provider
Source: lib/public/Federation/ICloudFederationProvider.php#51 Returns: string Since: 14.0.0
- share received from another server
Source: Parameters: - $share (
OCP\Federation\ICloudFederationShare
)
Returns: string provider specific unique ID of the share
Throws: \OCP\Federation\Exceptions\ProviderCouldNotAddShareException
Since: 14.0.0
- $share (
-
public
OCP\Federation\ICloudFederationProvider::
notificationReceived
($notificationType, $providerId, $notification)¶ - notification received from another server
Source: Parameters: - $notificationType (string) (e.g SHARE_ACCEPTED)
- $providerId (string) share ID
- $notification (array) provider specific notification
Returns: array $data send back to sender
Throws: Throws: Throws: Throws: Throws: Throws: Throws: Throws: Throws: Throws: Throws: Throws: Throws: Throws: Throws: Throws: Since: 14.0.0
- get the supported share types, e.g. “user”, “group”, etc.
Source: lib/public/Federation/ICloudFederationProvider.php#89 Returns: array Since: 14.0.0