schmiddim / mvcauth-api-key
ZF2 模块,为 MvcAuth 提供API密钥认证
v1.0.0
2016-04-19 09:58 UTC
Requires
- php: >=5.5
- zfcampus/zf-mvc-auth: ~1.0
This package is not auto-updated.
Last update: 2024-09-26 00:31:56 UTC
README
进行中
安装
启用模块 - 将 api-key.local.php.dist 复制到 config/autoload/api-key.local.php
在配置文件中放置API凭据。
API请求
curl --header "X-API-KEY: " --header "X-API-USER:" --cookie "XDEBUG_SESSION=PHPSTORM" http://apigility/rest/