UNPKG

@restorecommerce/acs-client

Version:

Access Control Service Client

11 lines 307 B
import { initAuthZ } from './authz.js'; /** * Koa middleware using the BMSLSA implementation for `iam-authn`. */ export const acsClientMiddleware = (config) => { return async (ctx, next) => { ctx.authZ = initAuthZ(config); await next(); }; }; //# sourceMappingURL=middleware.js.map