CloudFederationFactory¶
-
class
OC\Federation\
CloudFederationFactory
¶ Source: lib/private/Federation/CloudFederationFactory.php#30 Implements: OCP\Federation\ICloudFederationFactory
Methods¶
- get a CloudFederationShare Object to prepare a share you want to send
Source: Parameters: - $shareWith (string)
- $name (string) resource name (e.g. document.odt)
- $description (string) share description (optional)
- $providerId (string) resource UID on the provider side
- $owner (string) provider specific UID of the user who owns the resource
- $ownerDisplayName (string) display name of the user who shared the item
- $sharedBy (string) provider specific UID of the user who shared the resource
- $sharedByDisplayName (string) display name of the user who shared the resource
- $sharedSecret (string) used to authenticate requests across servers
- $shareType (string) (‘group’ or ‘user’ share)
- $resourceType (‘file’, ‘calendar’,...)
Returns: Since: 14.0.0
-
public
OC\Federation\CloudFederationFactory::
getCloudFederationNotification
()¶ - get a Cloud FederationNotification object to prepare a notification youwant to send
Source: lib/private/Federation/CloudFederationFactory.php#62 Returns: \OCP\Federation\ICloudFederationNotification
Since: 14.0.0