Microsoft_WindowsAzure
[ class tree: Microsoft_WindowsAzure ] [ index: Microsoft_WindowsAzure ] [ all elements ]

Class: Microsoft_WindowsAzure_Credentials_SharedKeyLite

Source Location: /WindowsAzure/Credentials/SharedKeyLite.php

Class Overview

Microsoft_WindowsAzure_Credentials_CredentialsAbstract
   |
   --Microsoft_WindowsAzure_Credentials_SharedKeyLite



Author(s):

Copyright:

  • Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com)

Methods


Inherited Constants

Inherited Variables

Inherited Methods


Class Details

[line 46]


Tags:

copyright:  Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com)
license:  http://phpazure.codeplex.com/license


[ Top ]


Class Methods


method signRequestHeaders [line 78]

array signRequestHeaders( [string $httpVerb = Microsoft_Http_Client::GET], [string $path = '/'], [string $queryString = ''], [array $headers = null], [boolean $forTableStorage = false], [string $resourceType = Microsoft_WindowsAzure_Storage::RESOURCE_UNKNOWN], [string $requiredPermission = Microsoft_WindowsAzure_Credentials_CredentialsAbstract::PERMISSION_READ], [mixed $rawData = null])

Sign request headers with credentials



Tags:

return:  Array of headers
access:  public


Overrides Microsoft_WindowsAzure_Credentials_CredentialsAbstract::signRequestHeaders() (Sign request headers with credentials)

Parameters:

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

[ Top ]

method signRequestUrl [line 57]

string signRequestUrl( [string $requestUrl = ''], [string $resourceType = Microsoft_WindowsAzure_Storage::RESOURCE_UNKNOWN], [string $requiredPermission = Microsoft_WindowsAzure_Credentials_CredentialsAbstract::PERMISSION_READ])

Sign request URL with credentials



Tags:

return:  Signed request URL
access:  public


Overrides Microsoft_WindowsAzure_Credentials_CredentialsAbstract::signRequestUrl() (Sign request URL with credentials)

Parameters:

string   $requestUrl   Request URL
string   $resourceType   Resource type
string   $requiredPermission   Required permission

[ Top ]

method _prepareQueryStringForSigning [line 140]

string _prepareQueryStringForSigning( string $value)

Prepare query string for signing



Tags:

return:  Query string for signing
access:  protected


Overrides Microsoft_WindowsAzure_Credentials_CredentialsAbstract::_prepareQueryStringForSigning() (Prepare query string for signing)

Parameters:

string   $value   Original query string

[ Top ]


Documentation generated on Wed, 18 May 2011 12:06:51 +0200 by phpDocumentor 1.4.3