Method | Description | |
---|---|---|
__construct ( $accessKey, $secretKey ) | ||
authorization ( $url, $body = null, $contentType = null ) | ||
getAccessKey ( ) | ||
privateDownloadUrl ( $baseUrl, $expires = 3600 ) | ||
sign ( $data ) | ||
signRequest ( $urlString, $body, $contentType = null ) | ||
signWithData ( $data ) | ||
uploadToken ( $bucket, $key = null, $expires = 3600, $policy = null, $strictPolicy = true, |
||
verifyCallback ( $contentType, $originAuthorization, $url, $body ) |
Method | Description | |
---|---|---|
copyPolicy ( &$policy, $originPolicy, $strictPolicy ) |
public uploadToken ( $bucket, $key = null, $expires = 3600, $policy = null, $strictPolicy = true, |
||
$zone |
public verifyCallback ( $contentType, $originAuthorization, $url, $body ) |