matricali/akamai-token-auth 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Latest Stable Version Build Status Coverage Status MIT licensed Total Downloads Latest Unstable Version composer.lock

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

GitHub 信息

  • Stars: 11
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-05-29