Moodle  2.2.1
http://www.collinsharper.com
Zend_Service_WindowsAzure_Credentials_SharedKey Class Reference
Inheritance diagram for Zend_Service_WindowsAzure_Credentials_SharedKey:
Collaboration diagram for Zend_Service_WindowsAzure_Credentials_SharedKey:

Public Member Functions

 signRequestUrl ($requestUrl= '', $resourceType=Zend_Service_WindowsAzure_Storage::RESOURCE_UNKNOWN, $requiredPermission=Zend_Service_WindowsAzure_Credentials_CredentialsAbstract::PERMISSION_READ)
 signRequestHeaders ($httpVerb=Zend_Http_Client::GET, $path= '/', $queryString= '', $headers=null, $forTableStorage=false, $resourceType=Zend_Service_WindowsAzure_Storage::RESOURCE_UNKNOWN, $requiredPermission=Zend_Service_WindowsAzure_Credentials_CredentialsAbstract::PERMISSION_READ)

Detailed Description

Definition at line 43 of file SharedKey.php.


Member Function Documentation

signRequestHeaders ( httpVerb = Zend_Http_Client::GET,
path = '/',
queryString = '',
headers = null,
forTableStorage = false,
resourceType = Zend_Service_WindowsAzure_Storage::RESOURCE_UNKNOWN,
requiredPermission = Zend_Service_WindowsAzure_Credentials_CredentialsAbstract::PERMISSION_READ 
)

Sign request headers with credentials

Parameters:
string$httpVerbHTTP verb the request will use
string$pathPath for the request
string$queryStringQuery string for the request
array$headersx-ms headers to add
boolean$forTableStorageIs the request for table storage?
string$resourceTypeResource type
string$requiredPermissionRequired permission
Returns:
array Array of headers

Reimplemented from Zend_Service_WindowsAzure_Credentials_CredentialsAbstract.

Definition at line 74 of file SharedKey.php.

Here is the call graph for this function:

Sign request URL with credentials

Parameters:
string$requestUrlRequest URL
string$resourceTypeResource type
string$requiredPermissionRequired permission
Returns:
string Signed request URL

Reimplemented from Zend_Service_WindowsAzure_Credentials_CredentialsAbstract.

Definition at line 54 of file SharedKey.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations