matricali/akamai-token-auth
最新稳定版本:1.0.0
Composer 安装命令:
composer require matricali/akamai-token-auth
包简介
This library provides necessary logic to generate Akamai edge authorization token and signed URL.
关键字:
README 文档
README
Generates authorization token used by Akamai's Auth Token 2.0. It can be used in the HTTP Cookie, Query String, and Header. You can configure it in the Property Manager at https://control.akamai.com.
Installation
composer require matricali/akamai-token-auth
Usage
use Matricali\Security\EdgeAuth\TokenAuth; $edgeAuth = new TokenAuth('aabbccddeeffgg00112233445566', TokenAuth::ALGORITHM_SHA256); /* @throws Matricali\Security\EdgeAuth\InvalidArgumentException */ $edgeAuth->setIp($client_ip); $authUrl = $edgeAuth->generateToken();
统计信息
- 总下载量: 1.09M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-05-29