@originforest/middleware-auth
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @originforest/middleware-auth

Weekly Downloads

3

Version

0.0.2

License

MIT

Unpacked Size

24.4 kB

Total Files

26

Last publish

Collaborators

  • brainpoint