php edge auth
v1.0.0
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.
composer require matricali/akamai-token-auth
use MatricaliSecurityEdgeAuthTokenAuth;
$edgeAuth = new TokenAuth('aabbccddeeffgg00112233445566', TokenAuth::ALGORITHM_SHA256);
/* @throws MatricaliSecurityEdgeAuthInvalidArgumentException */
$edgeAuth->setIp($client_ip);
$authUrl = $edgeAuth->generateToken();