@originforest/middleware-auth
v0.0.2
Published
auth middleware of originforest in bpframework
Downloads
2
Readme
originforest service auth middleware in bpframework.
Middleware specification
https://github.com/bpcloud/middleware
usage
Setup.
import { Application } from 'bpframework';
import * as middleware_auth from '@bpframework/middleware-auth';
Application.use(middleware_auth.middleware)
Application.runKoa(...);
Config.
spring:
application: xxxxxxxxx # 服务名字
service_sign:
faas_service_sign: xxxxxxxxx # 服务签名