PHP Classes

File: application/modules/extensions/aws/Aws/Credentials/CredentialsInterface.php

Recommend this page to a friend!
  Classes of Tran Tuan   Pretty PHP S3 Files Manager   application/modules/extensions/aws/Aws/Credentials/CredentialsInterface.php   Download  
File: application/modules/extensions/aws/Aws/Credentials/CredentialsInterface.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: 7 years ago
Size: 1,138 bytes
 

Contents

Class file image Download
<?php
namespace Aws\Credentials;

/**
 * Provides access to the AWS credentials used for accessing AWS services: AWS
 * access key ID, secret access key, and security token. These credentials are
 * used to securely sign requests to AWS services.
 */
interface CredentialsInterface
{
   
/**
     * Returns the AWS access key ID for this credentials object.
     *
     * @return string
     */
   
public function getAccessKeyId();

   
/**
     * Returns the AWS secret access key for this credentials object.
     *
     * @return string
     */
   
public function getSecretKey();

   
/**
     * Get the associated security token if available
     *
     * @return string|null
     */
   
public function getSecurityToken();

   
/**
     * Get the UNIX timestamp in which the credentials will expire
     *
     * @return int|null
     */
   
public function getExpiration();

   
/**
     * Check if the credentials are expired
     *
     * @return bool
     */
   
public function isExpired();

   
/**
     * Converts the credentials to an associative array.
     *
     * @return array
     */
   
public function toArray();
}