API reference
tenancy/cold-directory
Import
Section titled “Import”import * as api from "@fungi.computer/oyster/tenancy/cold-directory";Exports
Section titled “Exports”| Kind | Export | Description |
|---|---|---|
| type alias | ColdTenantDirectory | Live directory admission for a host-persisted tenant during background work. |
| function | coldTenantDirectory() | Reconstruct background admission from the same host-owned tenant registry. Every selection and member lookup reads current authority. This adapter has no credential authority: its authenticate method always refuses requests. |
ColdTenantDirectorytype alias
Section titled “ColdTenantDirectory”type ColdTenantDirectory = Readonly<{ resolve: Promise<Readonly<{ scope: TenantScope; auth: OysterAuth; }> | null>;}>;Live directory admission for a host-persisted tenant during background work.
coldTenantDirectory()function
Section titled “coldTenantDirectory()”function coldTenantDirectory(registry): ColdTenantDirectory;Reconstruct background admission from the same host-owned tenant registry. Every selection and member lookup reads current authority. This adapter has no credential authority: its authenticate method always refuses requests.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
registry |
Pick<ReadonlyTenantRegistry, "get" | "status" | "memberById"> |