mirror of
https://github.com/nextcloud/server.git
synced 2026-06-20 05:59:40 -04:00
Accept both the legacy options.sharedSecret envelope and the new protocol[name].sharedSecret form. Preserve the original cloud ID so the factory can discover capabilities, then reset shareWith to the local username for user lookup. Delegate per-protocol validation to providers via the new IValidationAwareCloudFederationProvider interface, with split exception handling: BadRequestException -> 400, ProviderCouldNotAddShareException -> the exception's own HTTP status (501 fallback). In the notification handler, fall back to looking up the refresh token via OcmTokenMapMapper when the access token cannot identify the federation. Co-authored-by: Micke Nordin <kano@sunet.se> Signed-off-by: Micke Nordin <kano@sunet.se> Signed-off-by: Enrique Pérez Arnaud <enrique@cazalla.net> |
||
|---|---|---|
| .. | ||
| appinfo | ||
| composer | ||
| l10n | ||
| lib | ||
| tests | ||
| LICENSE | ||
| openapi.json | ||
| openapi.json.license | ||
| README.md | ||
cloud_federation_api
The cloud federation API allows to share information like files, contacts, calendars, incoming calls, etc across Nextcloud instances