【文件属性】:
文件名称:fastify-firebase-auth:固定Firebase身份验证
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-13 03:01:27
JavaScript
fastify-firebase-auth
固定Firebase Auth API插件。 在使用情况下,传递给您register的选项将传递给Firebase服务。
安装
npm i fastify-firebase-auth --save
用法
通过register将其添加到您的项目中,您就完成了! 此插件将在您的Fastify实例中添加auth名称空间,并在添加所有功能:
例子:
const fastify = require ( 'fastify' )
fastify . register ( require ( 'fastify-firebase-auth' ) , {
apiKey : < FIREBASE> ,
databaseURL: < DATABASE> ,
projectId: < PROJECT> ,
【文件预览】:
fastify-firebase-auth-master
----.travis.yml(138B)
----index.js(2KB)
----test.js(516B)
----package.json(380B)
----LICENSE(1KB)
----.gitignore(644B)
----README.md(1KB)