Add user identity system with channel pairing and web /link command

Introduce Luna.Identity project with user identity service, pairing code
generation, and channel linking. Channels (Telegram, CLI) now verify link
status before routing messages and prompt users to pair via the web
interface. WebChannel handles /link <channel-type> <code> commands to
complete the pairing flow.

Fix inverted expiration check in IsPairingCodeExpired that caused codes
to be treated as expired immediately after creation.
This commit is contained in:
2026-04-04 16:09:10 +02:00
parent 3138436965
commit 2a07e07180
26 changed files with 779 additions and 465 deletions
+1
View File
@@ -19,6 +19,7 @@
<ProjectReference Include="..\Luna.Channels\Luna.Channels.csproj" />
<ProjectReference Include="..\Luna.Configuration\Luna.Configuration.csproj" />
<ProjectReference Include="..\Luna.Core.Abstractions\Luna.Core.Abstractions.csproj" />
<ProjectReference Include="..\Luna.Identity\Luna.Identity.csproj" />
<ProjectReference Include="..\Luna.Memory\Luna.Memory.csproj" />
<ProjectReference Include="..\Luna.Providers.Abstractions\Luna.Providers.Abstractions.csproj" />
<ProjectReference Include="..\Luna.Providers\Luna.Providers.csproj" />