AbleCloud PHP SDK
1.8.x
PHP SDK of AbleCloud API
|
静态 Public 成员函数 | |
static | signature ($developer, $context, $subDomain, $methodName, $timestamp, $timeout, $nonce) |
开发者签名工具。
|
static |
计算开发者的签名。
$developer | ACDeveloper ACDeveloper对象,表示要生成其签名的开发者。 |
$context | ACContext ACContext对象,表示访问AbleCloud远程服务的环境信息。 |
$subDomain | string 字符串。表示要访问的远程服务所属的子域的名字。可能为空字符串。 |
$methodName | string 字符串。表示要访问的远程服务的方法名。 |
$timestamp | int 此次签名所示使用的时间戳。是以秒为单位的UTC时间。 |
$timeout | int 此次签名的有效时长(以秒为单位)。表示该签名在自$timestamp时刻起的$timeout秒之内有效。 |
$nonce | string 此次签名所使用的随机字符串。 |