Skip to content
API reference

tenancy/cold-directory

Import
import * as api from "@fungi.computer/oyster/tenancy/cold-directory";
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”
Signature
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()”
Signature
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.

Parameter Type
registry Pick<ReadonlyTenantRegistry, "get" | "status" | "memberById">

ColdTenantDirectory