UNPKG

@shopify/shopify-app-express

Version:

Shopify Express Middleware - to simplify the building of Shopify Apps with Express

14 lines (10 loc) 308 B
import {Request, RequestHandler, Response} from 'express'; import {ApiAndConfigParams} from '../types'; export interface AuthMiddleware { begin: () => RequestHandler; callback: () => RequestHandler; } export interface AuthCallbackParams extends ApiAndConfigParams { req: Request; res: Response; }