AccessTokenInterface.php 438 B

12345678910111213141516171819202122232425
  1. <?php
  2. /*
  3. * This file is part of the overtrue/socialite.
  4. *
  5. * (c) overtrue <i@overtrue.me>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. namespace Overtrue\Socialite;
  11. /**
  12. * Interface AccessTokenInterface.
  13. */
  14. interface AccessTokenInterface
  15. {
  16. /**
  17. * Return the access token string.
  18. *
  19. * @return string
  20. */
  21. public function getToken();
  22. }