frdlweb / webfan_webfat_elgg_bridge
Webfan Webfat for elgg 桥接,支持 Hybrid-/Multi- OAuth + CDN(含 CDN Proxy-Race)+ frdl.js 桥接
v0.0.1
2023-08-28 02:33 UTC
Requires
- php: >=7.1
- composer/installers: ~1.0
This package is auto-updated.
Last update: 2024-09-21 20:07:53 UTC
README
- 连接到 Webfat 框架、IO4 和 Frdlweb
- 从服务器(cdn、api 等)自动加载和安装类
- 查看 autoloader.php 和 CDN for Webfan\ElggPatch... 中的源代码...
- 与 frdl.js CDN 混合资源
- 多 OAuth 提供者登录
- 安装类 \Webfan\ElggPatch\Controller\Connect::class
- 要添加 OAuth 提供者,请将设置保存到文件 {plugin-dir}/.config/{providers}.php。例如:在 mod/webfan_webfat_elgg_bridge/.config/webfan.php 中添加提供者 "webfan"。
<?php return [ 'clientId' => '...', 'clientSecret' => '...', 'redirectUri' => 'https://example.com/auth/login/webfan/connect/', 'urlAuthorize' => 'https://webfan.de/apps/oauth2/authorize', 'urlAccessToken' => 'https://webfan.de/apps/oauth2/api/v1/token', 'urlResourceOwnerDetails' => 'https://webfan.de/ocs/v2.php/cloud/user?format=json' ];