PluginProbe
Media Cloud Sync / 1.0.3
Media Cloud Sync v1.0.3
1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 All 35 releases
media-cloud-sync / includes / sdk / s3 / Aws / Credentials / CredentialsInterface.php

CredentialsInterface.php in Media Cloud Sync 1.0.3, at includes/sdk/s3/Aws/Credentials/CredentialsInterface.php

49 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Dudlewebs\WPMCS\s3\Aws\Credentials;
4
5 /**
6 * Provides access to the AWS credentials used for accessing AWS services: AWS
7 * access key ID, secret access key, and security token. These credentials are
8 * used to securely sign requests to AWS services.
9 */
10 interface CredentialsInterface
11 {
12 /**
13 * Returns the AWS access key ID for this credentials object.
14 *
15 * @return string
16 */
17 public function getAccessKeyId();
18 /**
19 * Returns the AWS secret access key for this credentials object.
20 *
21 * @return string
22 */
23 public function getSecretKey();
24 /**
25 * Get the associated security token if available
26 *
27 * @return string|null
28 */
29 public function getSecurityToken();
30 /**
31 * Get the UNIX timestamp in which the credentials will expire
32 *
33 * @return int|null
34 */
35 public function getExpiration();
36 /**
37 * Check if the credentials are expired
38 *
39 * @return bool
40 */
41 public function isExpired();
42 /**
43 * Converts the credentials to an associative array.
44 *
45 * @return array
46 */
47 public function toArray();
48 }
49