AnonymousSignature.php
11 months ago
S3ExpressSignature.php
11 months ago
S3SignatureV4.php
11 months ago
SignatureInterface.php
11 months ago
SignatureProvider.php
11 months ago
SignatureTrait.php
11 months ago
SignatureV4.php
11 months ago
AnonymousSignature.php
34 lines
| 1 | <?php |
| 2 | namespace Aws\Signature; |
| 3 | |
| 4 | use Aws\Credentials\CredentialsInterface; |
| 5 | use Psr\Http\Message\RequestInterface; |
| 6 | |
| 7 | /** |
| 8 | * Provides anonymous client access (does not sign requests). |
| 9 | */ |
| 10 | class AnonymousSignature implements SignatureInterface |
| 11 | { |
| 12 | /** |
| 13 | * /** {@inheritdoc} |
| 14 | */ |
| 15 | public function signRequest( |
| 16 | RequestInterface $request, |
| 17 | CredentialsInterface $credentials |
| 18 | ) { |
| 19 | return $request; |
| 20 | } |
| 21 | |
| 22 | /** |
| 23 | * /** {@inheritdoc} |
| 24 | */ |
| 25 | public function presign( |
| 26 | RequestInterface $request, |
| 27 | CredentialsInterface $credentials, |
| 28 | $expires, |
| 29 | array $options = [] |
| 30 | ) { |
| 31 | return $request; |
| 32 | } |
| 33 | } |
| 34 |