lua-resty-hawk:使用Lua和OpenResty在Nginx上进行Hawk身份验证

时间:2021-04-29 18:48:18
【文件属性】:
文件名称:lua-resty-hawk:使用Lua和OpenResty在Nginx上进行Hawk身份验证
文件大小:4KB
文件格式:ZIP
更新时间:2021-04-29 18:48:18
Lua lua-resty-hawk 使用Lua和在Nginx上进行身份验证 是一种HTTP身份验证方案,使用消息身份验证代码(MAC)算法来提供部分HTTP请求密码验证。 使用范例 首先,创建一个Lua脚本来获取凭证,例如'credentials.lua': local ngx = ngx local artifacts = ngx. ctx . artifacts -- At this point, artifacts has the following keys : -- id, method, host, port, resource, ts, nonce, hash, ext, app, dlg, mac -- Use what you want in order to find the key needed to check the MAC if not artifacts. i
【文件预览】:
lua-resty-hawk-master
----README.md(3KB)
----lib()
--------resty()

网友评论