csharp
public interface IAccountRepositoryAccounts, and the characters on them.
Methods (4)
Task<AccountRecord?> ReadAsync(Guid id, CancellationToken cancellation)Reads an account.
Task<AccountRecord?> ByHandleAsync(string handle, CancellationToken cancellation)Finds the account an authority's handle maps to.
Task<(AccountRecord Account, bool Created)> EnsureAsync(string handle, DateTimeOffset now, CancellationToken cancellation)Makes an account for a handle that has none.
Task<WriteOutcome> SetSuspendedAsync(Guid id, bool suspended, CancellationToken cancellation)Suspends an account, or lifts it.
Used by (6)
- GateServiceVixen.Live.Gate
- GateServiceTestsVixen.Live.Gate.Tests
- IPersistenceVixen.Live.Persistence
- MemoryPersistenceVixen.Live.Persistence
- RepositoryTestsVixen.Live.Persistence.Tests
- SqlPersistenceVixen.Live.Persistence