Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
array $_permissionSet = 'array'
Permission set
__construct(
string $accountName
=
Zend_Service_WindowsAzure_Credentials_CredentialsAbstract, string $accountKey
=
Zend_Service_WindowsAzure_Credentials_CredentialsAbstract, boolean $usePathStyleUri
=
false, array $permissionSet
=
array
)
:
Creates a new Zend_Service_WindowsAzure_Credentials_SharedAccessSignature instance
createSignature(
string $path
=
/, string $resource
=
b, string $permissions
=
r, string $start, string $expiry, string $identifier
)
:
string
Create signature
createSignedQueryString(
string $path
=
/, string $queryString, string $resource
=
b, string $permissions
=
r, string $start, string $expiry, string $identifier
)
:
string
Create signed query string
getPermissionSet(
)
:
array
Get permission set
permissionMatchesRequest(
string $permissionUrl, string $requestUrl, string $resourceType
=
Zend_Service_WindowsAzure_Storage, string $requiredPermission
=
Zend_Service_WindowsAzure_Credentials_CredentialsAbstract
)
:
string
Permission matches request?
setPermissionSet(
array $value
=
array
)
:
void
Set permisison set
Warning: fine-grained permissions should be added prior to coarse-grained permissions. For example: first add blob permissions, end with container-wide permissions.
Warning: the signed access signature URL must match the account name of the Zend_Service_WindowsAzure_Credentials_Zend_Service_WindowsAzure_Credentials_SharedAccessSignature instance
signRequestHeaders(
string $httpVerb
=
Zend_Http_Client, string $path
=
/, string $queryString, array $headers
=
null, boolean $forTableStorage
=
false, string $resourceType
=
Zend_Service_WindowsAzure_Storage, string $requiredPermission
=
Zend_Service_WindowsAzure_Credentials_CredentialsAbstract, mixed $rawData
=
null
)
:
array
Sign request with credentials
signRequestUrl(
string $requestUrl, string $resourceType
=
Zend_Service_WindowsAzure_Storage, string $requiredPermission
=
Zend_Service_WindowsAzure_Credentials_CredentialsAbstract
)
:
string
Sign request URL with credentials