Interface IAuthRecordingResolver
- Namespace
- Kuestenlogik.Bowire.Mock.Management
- Assembly
- Kuestenlogik.Bowire.Mock.dll
Resolves a mock auth requirement's authRecordingId (#563) into a
concrete credential at config-apply time. The Mock package doesn't know how
a host stores auth recordings — each host registers an adapter (the
standalone tool's WorkbenchAuthRecordingResolver reads the
per-workspace AuthRecordingStore; embedded hosts plug their own).
public interface IAuthRecordingResolver
Methods
TryResolve(string, string?)
Resolve a captured credential by id, or null when no recording has that
id. workspaceId scopes the lookup to the mock's own
workspace when known — an auth-recording id is an operator-chosen label
(unlike a GUID recording id), so a bare id can collide across
workspaces; pass the workspace to resolve deterministically.
MockAuthResolution? TryResolve(string authRecordingId, string? workspaceId)