TouTiao.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  8. // +----------------------------------------------------------------------
  9. // | Author: CRMEB Team <admin@crmeb.com>
  10. // +----------------------------------------------------------------------
  11. namespace crmeb\services\oauth\storage;
  12. use crmeb\basic\BaseStorage;
  13. use crmeb\services\oauth\OAuthInterface;
  14. /**
  15. * 头条小程序登录
  16. * Class TouTiao
  17. * @package crmeb\services\oauth\storage
  18. */
  19. class TouTiao extends BaseStorage implements OAuthInterface
  20. {
  21. protected function initialize(array $config)
  22. {
  23. // TODO: Implement initialize() method.
  24. }
  25. public function getUserInfo(string $openid)
  26. {
  27. // TODO: Implement getUserInfo() method.
  28. }
  29. public function oauth(string $code = null, array $options = [])
  30. {
  31. // TODO: Implement oauth() method.
  32. }
  33. }