TODO: Mehrfach-Accounts, outlook.com, macOS

This commit is contained in:
dimedtec 2026-08-28 17:28:13 +02:00
parent ee3e6124a3
commit 3b2f149d8f

17
TODO.md Normal file
View file

@ -0,0 +1,17 @@
# TODO
- **Mehrere Office365/Outlook-Accounts gleichzeitig.**
Aktuell: `Contacts:Office365` in appsettings ist ein einzelnes Objekt, `Office365ContactProvider`
ist ein Singleton mit einem MSAL-Token-Cache.
Geplant: `Contacts:Office365Accounts` als Liste (`Name`, `TenantId`, `ClientId` je Eintrag),
`Office365ContactProvider` bekommt einen Konstruktor-Parameter fuer den Account und einen
eigenen Token-Cache-Pfad pro Account (sonst ueberschreiben sich die Logins). Ein Provider
pro konfiguriertem Account wird in `ContactSyncService` registriert, `ContactInfo.Id` bekommt
ein Account-Praefix, damit Kontakte aus verschiedenen Accounts nicht kollidieren.
- **outlook.com / persoenliche Microsoft-Accounts (MSA).**
Technisch identisch zu Office365 ueber Microsoft Graph, nur `TenantId: "consumers"` statt der
Organisations-Tenant-ID. Kein separater Provider noetig - einfach ein weiterer Eintrag in der
oben geplanten Account-Liste mit `TenantId = "consumers"`.
- **macOS-Client** (urspruenglich offene Frage, noch nicht angegangen).