0.0.2 • Published 3 years ago

@originforest/middleware-auth v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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      # 服务签名