autumn-js
Version:
Autumn JS Library
13 lines (10 loc) • 334 B
TypeScript
import { AuthResult } from './utils/AuthFunction.js';
declare function autumnHandler(options: {
identify: (request: any) => AuthResult;
url?: string;
secretKey?: string;
}): {
GET: (request: any, response?: any) => Promise<any>;
POST: (request: any, response?: any) => Promise<any>;
};
export { autumnHandler };