webpods
Version:
Append-only log service with OAuth authentication
14 lines • 621 B
TypeScript
/**
* Hybrid authentication middleware supporting both WebPods and Hydra tokens
*/
import { Response, NextFunction } from "express";
import { AuthRequest } from "../types.js";
/**
* Hybrid authentication middleware supporting both WebPods and Hydra tokens
*/
export declare function authenticateHybrid(req: AuthRequest, res: Response, next: NextFunction): Promise<void>;
/**
* Optional hybrid authentication - doesn't require auth but extracts it if present
*/
export declare function optionalAuthHybrid(req: AuthRequest, _res: Response, next: NextFunction): Promise<void>;
//# sourceMappingURL=hybrid-auth.d.ts.map