/** * Constructor. * * @param string $accountName storage account name. * @param string $accountKey storage account primary or secondary key. * * @return * MicrosoftAzure\Storage\Common\Internal\Authentication\SharedKeyAuthScheme */ public function __construct($accountName, $accountKey) { parent::__construct($accountName, $accountKey); $this->includedHeaders = array(); $this->includedHeaders[] = Resources::CONTENT_ENCODING; $this->includedHeaders[] = Resources::CONTENT_LANGUAGE; $this->includedHeaders[] = Resources::CONTENT_LENGTH; $this->includedHeaders[] = Resources::CONTENT_MD5; $this->includedHeaders[] = Resources::CONTENT_TYPE; $this->includedHeaders[] = Resources::DATE; $this->includedHeaders[] = Resources::IF_MODIFIED_SINCE; $this->includedHeaders[] = Resources::IF_MATCH; $this->includedHeaders[] = Resources::IF_NONE_MATCH; $this->includedHeaders[] = Resources::IF_UNMODIFIED_SINCE; $this->includedHeaders[] = Resources::RANGE; }
public function __construct($accountName, $accountKey) { parent::__construct($accountName, $accountKey); }
/** * Constructor. * * @param string $accountName storage account name. * @param string $accountKey storage account primary or secondary key. * * @return TableSharedKeyLiteAuthScheme */ public function __construct($accountName, $accountKey) { parent::__construct($accountName, $accountKey); $this->includedHeaders = array(); $this->includedHeaders[] = Resources::DATE; }