UNPKG

@kinde-oss/kinde-node-express

Version:

Kinde SDK for traditional Node.js Express web apps that run on the server

15 lines (14 loc) 638 B
import type { GrantType } from '@kinde-oss/kinde-typescript-sdk'; import type { SetupConfig } from './kindeSetupTypes.js'; import type { Express } from 'express'; export { getInternalClient, getInitialConfig } from './kindeClient.js'; export * from './kindeSetupTypes.js'; /** * Encapsulates Kinde setup of creatint creating internal TypeScript SDK * client, setting up its session manager interface and attaching session * manager to provided express instance. * * @param {Express} app * @param {SetupConfig} config */ export declare const setupInternalClient: <G extends GrantType>(app: Express, config: SetupConfig<G>) => void;