Classes

Interfaces

Traits

Class SignatureProvider

Signature providers.

A signature provider is a function that accepts a version, service, and
region and returns a Aws\Signature\SignatureInterface object on success or NULL if
no signature can be created from the provided arguments.

You can wrap your calls to a signature provider with the
SignatureProvider::resolve function to ensure that a signature object
is created. If a signature object is not created, then the resolve()
function will throw a Aws\Exception\UnresolvedSignatureException.
use Aws\Signature\SignatureProvider; $provider = SignatureProvider::defaultProvider(); // Returns a SignatureInterface or NULL. $signer = $provider('v4', 's3', 'us-west-2'); // Returns a SignatureInterface or throws. $signer = SignatureProvider::resolve($provider, 'no', 's3', 'foo');