hapi-routes-tenants-setup:提供 HAPI 端点以设置新租户

时间:2021-07-03 18:26:39
【文件属性】:
文件名称:hapi-routes-tenants-setup:提供 HAPI 端点以设置新租户
文件大小:139KB
文件格式:ZIP
更新时间:2021-07-03 18:26:39
JavaScript (C) 2014 马丁·瓦鲁施 提供一个端点来设置租户 初始用户 oauth 范围 角色 默认的 oauth 应用程序 + 客户端 您的用户的令牌 基本上,这允许您通过提供可以发布到的 /tenants/setup 端点来使用 codedoctor 库引导安装。 查看文件,其中包含典型的示例数据。 tenantId 和 clientId 都是可选的。 文件显示发布 sample.json 文件的结果。 如何确保这一点 几个简单的选择: 仅在第一次运行时包含它,然后将其删除。 提供一个密钥,该密钥必须作为有效负载 (secretKey) 包含在内。 像这样: hapiRoutesTenantsSetup = require ' hapi-routes-tenants-setup ' ... server = new Hapi.Server config . server . port
【文件预览】:
hapi-routes-tenants-setup-master
----src()
--------routes.coffee(4KB)
--------helper-obj-to-rest.coffee(630B)
--------index.coffee(1KB)
--------i18n.coffee(1KB)
--------validation-schemas.coffee(162B)
----lib()
--------validation-schemas.js(292B)
--------routes.js.map(6KB)
--------helper-obj-to-rest.js(911B)
--------routes.js(6KB)
--------i18n.js.map(579B)
--------i18n.js(1KB)
--------validation-schemas.js.map(471B)
--------index.js.map(939B)
--------helper-obj-to-rest.js.map(1KB)
--------index.js(1KB)
----doc()
--------method_list.html(1KB)
--------index.html(432B)
--------extra_list.html(849B)
--------class_list.html(730B)
--------stylesheets()
--------file_list.html(2KB)
--------file()
--------alphabetical_index.html(4KB)
--------javascript()
--------mixin_list.html(730B)
--------extra()
----.travis.yml(55B)
----test()
--------index-tests.coffee(581B)
--------support()
--------routes-tests.coffee(783B)
----samples()
--------sample.json(2KB)
--------result.json(6KB)
----Gruntfile.coffee(2KB)
----README.md(5KB)
----.gitignore(80B)
----package.json(1KB)

网友评论