mangement add oauth

This commit is contained in:
xiaomlove
2024-03-11 02:12:17 +08:00
parent a2b8ef3c50
commit 8903f10286
19 changed files with 455 additions and 7 deletions
+4
View File
@@ -38,6 +38,10 @@ return [
'bonus_log' => 'Bonus logs',
'torrent_buy_log' => 'Torrent buy logs',
'attendance_log' => 'Attendance logs',
'oauth_client' => 'Client',
'oauth_access_token' => 'Access tokens',
'oauth_auth_code' => 'Auth codes',
'oauth_refresh_token' => 'Refresh tokens',
],
'resources' => [
'agent_allow' => [
+9
View File
@@ -0,0 +1,9 @@
<?php
return [
'client' => 'Client',
'redirect' => 'Redirect URL',
'secret' => 'Secret',
'revoked' => 'Valid',
'access_token' => 'Access token',
'refresh_token' => 'Refresh token',
];
+4
View File
@@ -36,6 +36,10 @@ return [
'bonus_log' => '魔力记录',
'torrent_buy_log' => '种子购买',
'attendance_log' => '签到记录',
'oauth_client' => '客户端',
'oauth_access_token' => '访问令牌',
'oauth_auth_code' => '授权码',
'oauth_refresh_token' => '刷新令牌',
],
'resources' => [
'agent_allow' => [
+9
View File
@@ -0,0 +1,9 @@
<?php
return [
'client' => '客户端',
'redirect' => '回调地址',
'secret' => '密钥',
'revoked' => '有效',
'access_token' => '访问令牌',
'refresh_token' => '刷新令牌',
];
+4
View File
@@ -38,6 +38,10 @@ return [
'bonus_log' => '魔力記錄',
'torrent_buy_log' => '種子購買',
'attendance_log' => '簽到記錄',
'oauth_client' => '客戶端',
'oauth_access_token' => '訪問令牌',
'oauth_auth_code' => '授權碼',
'oauth_refresh_token' => '刷新令牌',
],
'resources' => [
'agent_allow' => [
+9
View File
@@ -0,0 +1,9 @@
<?php
return [
'client' => '客戶端',
'redirect' => '回調地址',
'secret' => '密鑰',
'revoked' => '有效',
'access_token' => '訪問令牌',
'refresh_token' => '刷新令牌',
];