Documentation

AnonymousSignature
in package
implements SignatureInterface

Provides anonymous client access (does not sign requests).

Interfaces, Classes and Traits

SignatureInterface
Interface used to provide interchangeable strategies for signing requests using the various AWS signature protocols.

Table of Contents

presign()  : RequestInterface
Create a pre-signed request.
signRequest()  : RequestInterface
Signs the specified request with an AWS signing protocol by using the provided AWS account credentials and adding the required headers to the request.

Methods

presign()

Create a pre-signed request.

public presign(RequestInterface $request, CredentialsInterface $credentials, mixed $expires[, array<string|int, mixed> $options = [] ]) : RequestInterface
Parameters
$request : RequestInterface

Request to sign

$credentials : CredentialsInterface

Credentials used to sign

$expires : mixed

The time at which the URL should expire. This can be a Unix timestamp, a PHP DateTime object, or a string that can be evaluated by strtotime.

$options : array<string|int, mixed> = []
Return values
RequestInterface

Search results