// @blocklet/payment-vendor shim
export class Auth {
  constructor(_opts?: any) {}
  verify(_req: any) { return true; }
}
export const VendorAuth = Auth;

const noopMiddleware = (_req: any, _res: any, next: any) => next();

export const middleware = {
  ensureVendorAuth: (_verifyFn?: any) => noopMiddleware,
};

export default { Auth, VendorAuth, middleware };
