@ltikit/adapter-memory
v1.0.0-rc.5
Published
In-memory NonceStore/PlatformStore adapters for ltikit — dev + testing.
Readme
@ltikit/adapter-memory
In-memory NonceStore + PlatformStore for LTIkit —
dev and tests only. State is per-process and lost on restart, so it cannot enforce single-use
nonces across serverless invocations. Do not use in production.
Requires @ltikit/core.
npm i -D @ltikit/core @ltikit/adapter-memoryUsage
import { MemoryNonceStore, MemoryPlatformStore } from '@ltikit/adapter-memory'
export const lti = createLti({
keys: staticKeyStore({ /* ... */ }),
nonces: new MemoryNonceStore(),
platforms: new MemoryPlatformStore([/* seed Platform[] */]),
})MemoryPlatformStore also implements the writable MutablePlatformStore contract, so Dynamic
Registration works out of the box in dev — the platform auto-onboards via lti.dynamicRegistration.register(...).
Docs
Links
Repository · Issues · Need help? — paid setup/integration help available.
MIT
