UNPKG

web-crawling-utils

Version:
8 lines (7 loc) 288 B
import { APIGatewayProxyEvent } from 'aws-lambda'; /** * Middleware to verify a JWT token for AWS Lambda. * @param event - The AWS API Gateway Proxy event. * @returns The decoded user info if token is valid. */ export declare const authenticate: (event: APIGatewayProxyEvent) => any;