Interface IBowireStorageRootProvider
- Namespace
- Kuestenlogik.Bowire.Auth
- Assembly
- Kuestenlogik.Bowire.dll
A user store that knows the storage root it lives under (#97).
public interface IBowireStorageRootProvider
Remarks
BowirePathResolver derives the Data root from the active user store, because the store is what a project opt-in moves. That worked while DefaultBowireUserStore was the only implementation and its root was the data root.
It stops working the moment a store resolves somewhere under the
data root, which is exactly what an identity-scoped store does: taking its
root as the data root would resolve the next slot under the last one —
users/a/users/a/…, deeper on every swap. This interface is how a
store says "here is my slot, and here is the root it sits in", so the
resolver can keep answering the second question while the store answers the
first.
Properties
StorageRoot
The storage root this store resolves under — the directory the Data scope means, not the per-identity slot inside it.
string StorageRoot { get; }