bauth-js
Version:
A Node.js authentication library for API requests via remote authentication service using Bearer tokens. Compatible with Express and NestJS.
5 lines • 401 B
TypeScript
export { BAuth } from './auth';
export { createBAuthMiddleware, bauth, type BAuthExpressOptions } from './middleware/express';
export { BAuthGuard, UseBAuth, CurrentUser, createBAuthGuard, type BAuthNestOptions } from './middleware/nest';
export type { BAuthConfig, User, AuthResponse, ValidationResponse, BAuthRequest, ExpressRequest, NestRequest } from './types';
//# sourceMappingURL=index.d.ts.map