- createAuthMiddleware(): RS256 JWKS + HS256 fallback (parameterized) - createRequestContext(): productId validation + getUserId() - Fastify request type augmentation for jwtPayload - 15 tests passing
9 lines
222 B
TypeScript
9 lines
222 B
TypeScript
export { createAuthMiddleware } from './auth.js';
|
|
export { createRequestContext } from './request-context.js';
|
|
export type {
|
|
AuthPayload,
|
|
JwtPayload,
|
|
FastifyAuthOptions,
|
|
RequestContextOptions,
|
|
} from './types.js';
|