Skip to main content

Crate origin_accounts

Crate origin_accounts 

Source
Expand description

Account management (ADR-0016).

An account is one authenticated identity at one connector. A connector may have several; every cache key, sync record and credential is scoped by AccountId from the start, because retrofitting that later touches everything.

The account list lives in origin_storage::Storage; the credentials live in the OS credential store (ADR-0008). Deleting the database therefore loses the list of connected accounts, not the credentials — and a resync restores it.

Structs§

AccountService
Connecting, listing and disconnecting accounts.
AccountStore
Persistence for the account list.

Constants§

ACCOUNTS_NAMESPACE
Storage namespace holding account records.