Zend Framework
1.12
|
Public Attributes | |
const | DEVSTORE_ACCOUNT = "devstoreaccount1" |
Development storage account and key. | |
const | DEVSTORE_KEY = "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==" |
const | PREFIX_PROPERTIES = "x-ms-prop-" |
HTTP header prefixes. | |
const | PREFIX_METADATA = "x-ms-meta-" |
const | PREFIX_STORAGE_HEADER = "x-ms-" |
const | PERMISSION_READ = "r" |
Permissions. | |
const | PERMISSION_WRITE = "w" |
const | PERMISSION_DELETE = "d" |
const | PERMISSION_LIST = "l" |
Protected Member Functions | |
_prepareQueryStringForSigning ($value) | |
Prepare query string for signing. | |
_makeArrayOfQueryString ($value) | |
Make array of query string. | |
_issetOr ($array, $key, $valueIfNotSet) | |
Returns an array value if the key is set, otherwide returns $valueIfNotSet. | |
Protected Attributes | |
$_accountName = '' | |
$_accountKey = '' | |
$_usePathStyleUri = false | |
__construct | ( | $accountName = Zend_Service_WindowsAzure_Credentials_CredentialsAbstract::DEVSTORE_ACCOUNT , |
|
$accountKey = Zend_Service_WindowsAzure_Credentials_CredentialsAbstract::DEVSTORE_KEY , |
|||
$usePathStyleUri = false |
|||
) |
Creates a new Zend_Service_WindowsAzure_Credentials_CredentialsAbstract instance.
string | $accountName | Account name for Windows Azure |
string | $accountKey | Account key for Windows Azure |
boolean | $usePathStyleUri | Use path-style URI's |
|
protected |
Returns an array value if the key is set, otherwide returns $valueIfNotSet.
array | $array | |
mixed | $key | |
mixed | $valueIfNotSet |
|
protected |
Make array of query string.
string | $value | Query string |
|
protected |
Prepare query string for signing.
string | $value | Original query string |
setAccountkey | ( | $value = Zend_Service_WindowsAzure_Credentials_CredentialsAbstract::DEVSTORE_KEY | ) |
Set account key for Windows Azure.
string | $value |
setAccountName | ( | $value = Zend_Service_WindowsAzure_Credentials_CredentialsAbstract::DEVSTORE_ACCOUNT | ) |
Set account name for Windows Azure.
string | $value |
setUsePathStyleUri | ( | $value = false | ) |
Set use path-style URI's.
boolean | $value |
|
abstract |
Sign request headers with credentials.
string | $httpVerb | HTTP verb the request will use |
string | $path | Path for the request |
string | $queryString | Query string for the request |
array | $headers | x-ms headers to add |
boolean | $forTableStorage | Is the request for table storage? |
string | $resourceType | Resource type |
string | $requiredPermission | Required permission |
mixed | $rawData | Raw post data |
|
abstract |
Sign request URL with credentials.
string | $requestUrl | Request URL |
string | $resourceType | Resource type |
string | $requiredPermission | Required permission |
|
protected |
|
protected |
|
protected |
const DEVSTORE_ACCOUNT = "devstoreaccount1" |
Development storage account and key.
const DEVSTORE_KEY = "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==" |
const PERMISSION_DELETE = "d" |
const PERMISSION_LIST = "l" |
const PERMISSION_READ = "r" |
Permissions.
const PERMISSION_WRITE = "w" |
const PREFIX_METADATA = "x-ms-meta-" |
const PREFIX_PROPERTIES = "x-ms-prop-" |
HTTP header prefixes.
const PREFIX_STORAGE_HEADER = "x-ms-" |