OauthLoader.php 993 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | Niucloud-admin 企业快速开发的saas管理平台
  4. // +----------------------------------------------------------------------
  5. // | 官方网址:https://www.niucloud.com
  6. // +----------------------------------------------------------------------
  7. // | niucloud团队 版权所有 开源版本可自由商用
  8. // +----------------------------------------------------------------------
  9. // | Author: Niucloud Team
  10. // +----------------------------------------------------------------------
  11. namespace core\oauth;
  12. use core\loader\Loader;
  13. /**
  14. * @see OauthLoader
  15. * @package think\facade
  16. */
  17. class OauthLoader extends Loader
  18. {
  19. /**
  20. * 空间名
  21. * @var string
  22. */
  23. protected $namespace = '\\core\\oauth\\';
  24. protected $config_name = 'oauth';
  25. /**
  26. * 默认驱动
  27. * @return mixed
  28. */
  29. protected function getDefault()
  30. {
  31. return config('oauth.default');
  32. }
  33. }