UNPKG

@adventurelabs/scout-core

Version:

Core utilities and helpers for Adventure Labs Scout applications

8 lines (7 loc) 346 B
import { NextResponse, type NextRequest } from "next/server"; export interface IOptionsMiddlewareAuth { allowed_email_domains?: string[]; allowed_page_paths_without_auth: string[]; login_page_path: string; } export declare function updateSession(request: NextRequest, options: IOptionsMiddlewareAuth): Promise<NextResponse<unknown>>;