【文件属性】:
文件名称:express-gateway-authentication-plugin
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-16 14:28:58
JavaScript
快速网关认证插件
身份验证插件
主要特征:
通过使用JWT令牌来标识登录用户,支持使用Google oauth2和Basic auth进行用户身份验证。
将用户数据存储在PostgreSQL中。
要求:
Node.js
快速网关
护照-google-oauth20
续集
节点postgres
PostgreSQL
入门:
$ npm install -g express-gateway
$ eg gateway create
eg gateway create
# follow prompts
? What \' s the name of your Express Gateway ? my-gateway
? Where would you like to install your Express Gateway ? my-gateway
? What type of Ex
【文件预览】:
express-gateway-authentication-plugin-master
----models()
--------user-model.js(749B)
----test.js(0B)
----LICENSE(11KB)
----README.md(1KB)
----policies()
--------example-policy.js(3KB)
----manifest.js(3KB)
----.gitignore(19B)
----routes()
--------admin-api.js(1KB)
----package-lock.json(100B)
----keys.js(335B)
----package.json(306B)