文件名称:firebase-auth:Express和Koa中间件,用于验证Firebase Auth令牌
文件大小:23KB
文件格式:ZIP
更新时间:2024-05-07 07:21:31
TypeScript
@ marksteve / firebase-auth Express和Koa中间件,用于验证Firebase Auth令牌 表示 const express = require('express') const auth = require('@marksteve/firebase-auth/express'); const app = express(); app.use(auth); 柯阿 const Koa = require('koa'); const auth = require('@marksteve/firebase-auth/koa'); const app = new Koa(); app.use(auth);
【文件预览】:
firebase-auth-main
----.gitignore(19B)
----package.json(808B)
----src()
--------express.ts(653B)
--------koa.ts(570B)
--------utils.ts(196B)
----tsconfig.json(283B)
----.github()
--------workflows()
----README.md(381B)
----.prettierrc(41B)
----yarn.lock(45KB)