UNPKG

@furystack/rest-service

Version:

Repository implementation for FuryStack

15 lines 768 B
import type { PhysicalStore, StoreManager } from '@furystack/core'; import { User } from '@furystack/core'; import type { Constructable } from '@furystack/inject'; import { DefaultSession } from './models/default-session.js'; /** * Authentication settings object for FuryStack HTTP Api */ export declare class HttpAuthenticationSettings<TUser extends User, TSession extends DefaultSession> { model: Constructable<TUser>; getUserStore: (sm: StoreManager) => PhysicalStore<User, "username", import("@furystack/core").WithOptionalId<User, "username">>; getSessionStore: (storeManager: StoreManager) => PhysicalStore<TSession, keyof TSession>; cookieName: string; enableBasicAuth: boolean; } //# sourceMappingURL=http-authentication-settings.d.ts.map