【文件属性】:
文件名称:hapi-stormpath:hapi.js的Stormpath插件
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-04 04:08:44
JavaScript
#适用于hapi.js的#Stormpath插件一个简单的包装器插件,用于hapi.js与集成
注册插件的例子
有关更多信息,请参见。
var server = new Hapi . Server ( ) ;
server . register ( [ {
register : require ( 'hapi-stormpath' ) ,
options : {
apiKeyId : 'apiKeyId' , //required
apiKeySecret : 'apiKeyId' , //required
applicationHref : 'applicationHref' , // optional, if specified, plugin exposes application and authenticator
【文件预览】:
hapi-stormpath-master
----.travis.yml(69B)
----index.js(1KB)
----package.json(773B)
----test()
--------index.js(4KB)
----LICENSE(1KB)
----.gitignore(203B)
----README.md(2KB)