API Reference ExDav v#0.1.0

Copy Markdown View Source

Modules

CalDAV server library.

Behaviour for CalDAV authenticators.

HTTP Basic authenticator. Verifies the username/password pair via a configurable :verify MFA tuple {module, function} invoked as apply(module, function, [username, password]). Returns the username as the principal on success.

Top-level Plug that handles CalDAV requests under the /dav prefix.

XML response builders and small request parsers for the CalDAV endpoints. Generates Multi-Status (RFC 4918) responses with the CalDAV (RFC 4791) and CalendarServer extensions.

Tiny iCalendar helpers — just enough to extract the UID and primary component (VEVENT vs VTODO) from an iCalendar object and to compute an ETag from its serialized form.

Behaviour for CalDAV storage adapters.

In-memory implementation of ExDav.Storage. Backed by a single Agent registered under the module name, for use in dev demos and tests.

Postgres-backed implementation of ExDav.Storage. Owns its own users, calendars, calendar objects, and tombstones tables; the Repo module is configured via config :ex_dav, repo: MyApp.Repo.

A CalDAV calendar collection owned by a user.

A single calendar resource (an event, todo, etc.).

Records the deletion of a calendar object for sync-collection.