Service/WindowsAzure/Credentials/SharedKey.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service_WindowsAzure  
Version
$Id$  

\Zend_Service_WindowsAzure_Credentials_SharedKey

Package: Zend_Service_WindowsAzure
Parent(s)
\Zend_Service_WindowsAzure_Credentials_CredentialsAbstract
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Methods

methodpublicsignRequestHeaders(string $httpVerb = \Zend_Http_Client::GET, string $path = '/', string $queryString = '', array $headers = null, boolean $forTableStorage = false, string $resourceType = \Zend_Service_WindowsAzure_Storage::RESOURCE_UNKNOWN, string $requiredPermission = \Zend_Service_WindowsAzure_Credentials_CredentialsAbstract::PERMISSION_READ, mixed $rawData = null) : array

Sign request headers with credentials

Parameters
NameTypeDescription
$httpVerbstring

HTTP verb the request will use

$pathstring

Path for the request

$queryStringstring

Query string for the request

$headersarray

x-ms headers to add

$forTableStorageboolean

Is the request for table storage?

$resourceTypestring

Resource type

$requiredPermissionstring

Required permission

$rawDatamixed

Raw post data

Returns
TypeDescription
arrayArray of headers
methodpublicsignRequestUrl(string $requestUrl = '', string $resourceType = \Zend_Service_WindowsAzure_Storage::RESOURCE_UNKNOWN, string $requiredPermission = \Zend_Service_WindowsAzure_Credentials_CredentialsAbstract::PERMISSION_READ) : string

Sign request URL with credentials

Parameters
NameTypeDescription
$requestUrlstring

Request URL

$resourceTypestring

Resource type

$requiredPermissionstring

Required permission

Returns
TypeDescription
stringSigned request URL
Documentation was generated by phpDocumentor 2.2.0 .