UNPKG

caplib

Version:

Credentialless Authentication Protocol Library for Web Applications

10 lines (7 loc) 297 B
import { NextRequest } from 'next/server'; import { d as AuthHandlerConfig } from './types-B5TgxFMm.js'; declare const createAuthHandler: (config?: AuthHandlerConfig) => { GET: () => Promise<Response>; POST: (req: NextRequest) => Promise<Response>; }; export { createAuthHandler as c };