This commit is contained in:
Rutra
2026-05-13 11:50:22 +02:00
commit 2068229f89
128 changed files with 9215 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
export default class AuthMiddleware {
async handle(ctx, next, options = {}) {
await ctx.auth.authenticateUsing(options.guards);
return next();
}
}
//# sourceMappingURL=auth_middleware.js.map