PluginProbe
Media Cloud Sync / 1.3.11
Media Cloud Sync v1.3.11
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 1.3.0 All 34 releases
media-cloud-sync / includes / sdk / s3 / Aws / Token / TokenInterface.php

TokenInterface.php in Media Cloud Sync 1.3.11, at includes/sdk/s3/Aws/Token/TokenInterface.php

35 lines 658 B
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\Token;
4
5 /**
6 * Provides access to an AWS token used for accessing AWS services
7 */
8 interface TokenInterface
9 {
10 /**
11 * Returns the token this token object.
12 *
13 * @return string
14 */
15 public function getToken();
16 /**
17 * Get the UNIX timestamp in which the token will expire
18 *
19 * @return int|null
20 */
21 public function getExpiration();
22 /**
23 * Check if the token are expired
24 *
25 * @return bool
26 */
27 public function isExpired();
28 /**
29 * Converts the token to an associative array.
30 *
31 * @return array
32 */
33 public function toArray();
34 }
35