mirror of
https://github.com/SociallyDev/Spaces-API.git
synced 2025-07-16 10:03:01 -07:00
* Simplifies & beautifies everything * Introduces a new Class system. * Errors are defaulted to AWS's handler. * New function names & more efficient handling. * Should fix a majority of the errors. Please read the README for more!
27 lines
585 B
PHP
27 lines
585 B
PHP
<?php
|
|
namespace Aws\Signature;
|
|
|
|
use Aws\Credentials\CredentialsInterface;
|
|
use Psr\Http\Message\RequestInterface;
|
|
|
|
/**
|
|
* Provides anonymous client access (does not sign requests).
|
|
*/
|
|
class AnonymousSignature implements SignatureInterface
|
|
{
|
|
public function signRequest(
|
|
RequestInterface $request,
|
|
CredentialsInterface $credentials
|
|
) {
|
|
return $request;
|
|
}
|
|
|
|
public function presign(
|
|
RequestInterface $request,
|
|
CredentialsInterface $credentials,
|
|
$expires,
|
|
array $options = []
|
|
) {
|
|
return $request;
|
|
}
|
|
}
|