Azure OSS for PHP API Reference

AccountSasBuilder
in package

FinalYes

Builds an Azure Storage account shared access signature (SAS).

Table of Contents

Properties

$encryptionScope  : string|null
$expiresOn  : DateTimeInterface
$ipRange  : SasIpRange|null
$permissions  : string
$protocol  : SasProtocol|null
$resourceTypes  : string
$services  : string
$startsOn  : DateTimeInterface|null
$version  : string

Methods

build()  : string
Signs and returns the account SAS query string without a leading question mark.
new()  : self
Creates an empty account SAS builder.
setEncryptionScope()  : AccountSasBuilder
Sets the encryption scope required for requests authorized by the SAS.
setExpiresOn()  : AccountSasBuilder
Sets the instant at which the SAS expires.
setIpRange()  : AccountSasBuilder
Restricts requests to the specified source IP address or range.
setPermissions()  : AccountSasBuilder
Sets the operations permitted by the SAS.
setProtocol()  : AccountSasBuilder
Restricts requests to HTTPS, or permits both HTTPS and HTTP.
setResourceTypes()  : AccountSasBuilder
Sets the service, container, and object resource types accessible through the SAS.
setServices()  : AccountSasBuilder
Sets the storage services accessible through the SAS.
setStartsOn()  : AccountSasBuilder
Sets the earliest instant at which the SAS is valid.
setVersion()  : AccountSasBuilder
Sets the Storage service version signed by the SAS.

Properties

Methods

new()

Creates an empty account SAS builder.

public static new() : self
Return values
self
On this page

Search results