mirror of
https://github.com/aoaostar/toolbox.git
synced 2026-01-23 04:13:10 +00:00
使用naive ui重构后台面板
重构用户系统,方便支持更多OAuth认证方式
重构插件系统,方便静态资源的添加
BREAKING CHANGE: 🧨 更改管理员身份认证为用户id
16 lines
206 B
PHP
16 lines
206 B
PHP
<?php
|
|
|
|
|
|
namespace app\lib\oauth;
|
|
|
|
|
|
use think\Response;
|
|
|
|
interface Oauth
|
|
{
|
|
public function __construct($config, $params);
|
|
|
|
public function oauth(): Response;
|
|
|
|
public function callback(): array;
|
|
} |