auth middleware of bpfaas in bpframework
npm install @bpfaas/middleware-authhttps://github.com/bpfaas/middleware
#### Setup.
``js
// to use debugAdminServiceUrl
(global as any)__debugFeignClient = true
import { Application } from 'bpframework';
import * as middleware_auth from '@bpfaas/middleware-auth';
Application.use(middleware_auth.middleware('http://debugAdminServiceUrl'))
Application.runKoa(...);
`
#### Config.
`properties
spring:
application: xxxxxxxxx # 服务名字
service_sign:
faas_service_sign: xxxxxxxxx # 服务签名
``