AccessTokenRefreshed.php 849 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /**
  3. * 重庆赤晓店信息科技有限公司
  4. * https://www.chixiaodian.com
  5. * Copyright (c) 2023 赤店商城 All rights reserved.
  6. */
  7. /*
  8. * This file is part of the overtrue/wechat.
  9. *
  10. * (c) overtrue <i@overtrue.me>
  11. *
  12. * This source file is subject to the MIT license that is bundled
  13. * with this source code in the file LICENSE.
  14. */
  15. namespace ByteDance\Kernel\Events;
  16. use ByteDance\Kernel\AccessToken;
  17. /**
  18. * Class AccessTokenRefreshed.
  19. *
  20. * @author mingyoung <mingyoungcheung@gmail.com>
  21. */
  22. class AccessTokenRefreshed
  23. {
  24. /**
  25. * @var \ByteDance\Kernel\AccessToken
  26. */
  27. public $accessToken;
  28. /**
  29. * @param \ByteDance\Kernel\AccessToken $accessToken
  30. */
  31. public function __construct(AccessToken $accessToken)
  32. {
  33. $this->accessToken = $accessToken;
  34. }
  35. }