BearerTokenIdentity.php 423 B

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