🚀 Socket Launch Week 🚀 Day 4: Introducing Historical Analytics.Learn More
Socket
Sign inDemoInstall
Socket

@bpfaas/middleware-auth

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bpfaas/middleware-auth

auth middleware of bpfaas in bpframework

0.0.1
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

bpfaas service auth middleware in bpframework.

Middleware specification

https://github.com/bpfaas/middleware

usage

Setup.


// 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.

spring:
  application: xxxxxxxxx      # 服务名字

service_sign:
  faas_service_sign: xxxxxxxxx      # 服务签名

Keywords

bpframework

FAQs

Package last updated on 09 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts