Skip to content

MutablePlatformStore

Defined in: packages/core/src/adapters.ts:54

A writable PlatformStore. Required for Dynamic Registration, which onboards platforms at runtime (a read-only store rejects registration at config time).

find(iss, clientId?): Promise<Platform | null>

Defined in: packages/core/src/adapters.ts:44

Resolve a platform by issuer, optionally disambiguated by clientId (for multiple tools/registrations under one issuer). Return null if none.

string

string | null

Promise<Platform | null>

PlatformStore.find


save(platform): Promise<Platform>

Defined in: packages/core/src/adapters.ts:60

Upsert a platform keyed on (issuer, clientId): insert a new registration, or update the endpoints (and backfill deploymentId) of an existing one. Returns the stored record with its assigned id.

PlatformInput

Promise<Platform>