Add database-backed IAtProtoTokenStore implementations (SQL, Redis, etc.) #3
Labels
No labels
breaking-change
bug
documentation
duplicate
enhancement
good first issue
help wanted
performance
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Grandiras/ATProto.NET#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The current
IAtProtoTokenStoreimplementations are:FileAtProtoTokenStore(default) — File-based with Data Protection encryption. Good for single-server deployments.InMemoryAtProtoTokenStore— Volatile, dev/testing only.Neither supports multi-server / load-balanced deployments or centralized token management. We need database-backed implementations.
Proposed Implementations
SQL (EF Core)
EfCoreAtProtoTokenStorebacked by aDbContextAddAtProtoServer<EfCoreAtProtoTokenStore>()registration patternRedis
RedisAtProtoTokenStoreusingIConnectionMultiplexerAddAtProtoServer<RedisAtProtoTokenStore>()registration patternConsiderations
ATProtoNet.Server.EntityFrameworkCore,ATProtoNet.Server.Redis)Interface Reference
Acceptance Criteria
docs/server.md