| 1 |
<?php |
| 2 |
|
| 3 |
namespace Dudlewebs\WPMCS\s3\Aws\Identity; |
| 4 |
|
| 5 |
/** |
| 6 |
* An Identity object is used in identifying credential types and determining how |
| 7 |
* the SDK authenticates with a service API for requests that require a signature. |
| 8 |
* |
| 9 |
* @internal |
| 10 |
*/ |
| 11 |
interface IdentityInterface |
| 12 |
{ |
| 13 |
/** |
| 14 |
* Returns a UNIX timestamp, if available, representing |
| 15 |
* the expiration time of the identity object. Returns null |
| 16 |
* if no expiration is provided. |
| 17 |
* |
| 18 |
* @return int|null |
| 19 |
*/ |
| 20 |
public function getExpiration(); |
| 21 |
} |
| 22 |
|