| 1 |
<?php |
| 2 |
|
| 3 |
namespace Dudlewebs\WPMCS\s3\Aws\Identity; |
| 4 |
|
| 5 |
/** |
| 6 |
* Denotes the use of Bearer Token credentials. |
| 7 |
* |
| 8 |
* @internal |
| 9 |
*/ |
| 10 |
abstract class BearerTokenIdentity implements IdentityInterface |
| 11 |
{ |
| 12 |
/** |
| 13 |
* Returns a UNIX timestamp, if available, representing the expiration |
| 14 |
* time of the Bearer Token object. Returns null if no expiration is provided. |
| 15 |
* |
| 16 |
* @return int|null |
| 17 |
*/ |
| 18 |
public abstract function getExpiration(); |
| 19 |
} |
| 20 |
|