@feathersjs/authentication
Version:
Add Authentication to your FeathersJS app.
11 lines • 384 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = (event) => async (context, next) => {
await next();
const { result, params: { connection } } = context;
if (connection) {
const service = context.service;
await service.handleConnection(event, connection, result);
}
};
//# sourceMappingURL=connection.js.map
;