2017-02-07 02:56:58 -05:00

12 lines
294 B
PHP

<?php
require_once __DIR__ . '/../autoload.php';
use Qiniu\Auth;
// 用于签名的公钥和私钥. http://developer.qiniu.com/docs/v6/api/overview/security.html#aksk
$accessKey = 'Access_Key';
$secretKey = 'Secret_Key';
// 初始化签权对象。
$auth = new Auth($accessKey, $secretKey);