Changeset View
Changeset View
Standalone View
Standalone View
src/future/aws/PhutilAWSv4Signature.php
Context not available. | |||||
private function getScopeParts() { | private function getScopeParts() { | ||||
return array( | return array( | ||||
substr($this->getDate(), 0, 8), | @substr($this->getDate(), 0, 8), | ||||
$this->getRegion(), | $this->getRegion(), | ||||
$this->getService(), | $this->getService(), | ||||
'aws4_request', | 'aws4_request', | ||||
Context not available. | |||||
private function getCredential() { | private function getCredential() { | ||||
$access_key = $this->accessKey; | $access_key = $this->accessKey; | ||||
if (!strlen($access_key)) { | if (!@strlen($access_key)) { | ||||
throw new PhutilInvalidStateException('setAccessKey'); | throw new PhutilInvalidStateException('setAccessKey'); | ||||
} | } | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0