PHP Classes

File: application/modules/extensions/aws/Aws/Signature/AnonymousSignature.php

Recommend this page to a friend!
  Classes of Tran Tuan   Pretty PHP S3 Files Manager   application/modules/extensions/aws/Aws/Signature/AnonymousSignature.php   Download  
File: application/modules/extensions/aws/Aws/Signature/AnonymousSignature.php
Role: Application script
Content type: text/plain
Description: Application script
Class: Pretty PHP S3 Files Manager
Web based interface to manage files in Amazon S3
Author: By
Last change:
Date: 8 years ago
Size: 556 bytes
 

Contents

Class file image Download
<?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
   
) {
        return
$request;
    }
}