Skip to main content

Crate nextcloud_goa

Crate nextcloud_goa 

Source
Expand description

GNOME Online Accounts integration for Nextcloud.

This crate provides direct D-Bus integration with GNOME Online Accounts (org.gnome.OnlineAccounts) using zbus to securely discover and extract Nextcloud/ownCloud accounts configured on the Linux desktop session.

§Architecture

  • GnomeOnlineAccounts: Connects to session D-Bus and queries the object manager.
  • GoaAccount: Represents a discovered account with base URL and assembled BasicAuth.
  • proxy: Strongly-typed zbus proxies for GOA interfaces.
  • GoaError: Typed error enum for D-Bus communication and configuration errors.
  • parse_webdav_url: Normalises WebDAV URIs into Nextcloud base URLs.

Modules§

proxy
D-Bus proxy interfaces for GNOME Online Accounts.

Structs§

GnomeOnlineAccounts
Client for interacting with GNOME Online Accounts via D-Bus.
GoaAccount
A Nextcloud or ownCloud account discovered via GNOME Online Accounts.

Enums§

GoaError
Errors that can occur when discovering GNOME Online Accounts.

Functions§

parse_webdav_url
Parses a GNOME Online Accounts WebDAV URI into a Nextcloud base ServerUrl.