mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-09-07 16:46:48 +08:00
feat: implement account binding functionality for GitHub and LinuxDo
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace Foxel.Services.Auth;
|
||||
|
||||
public enum LinuxDoAuthResult
|
||||
{
|
||||
Success, // 授权成功并找到绑定用户
|
||||
UserNotBound, // 授权成功但用户未绑定
|
||||
InvalidCode, // 授权码无效
|
||||
TokenRequestFailed, // 获取访问令牌失败
|
||||
UserInfoFailed, // 获取用户信息失败
|
||||
InvalidUserId // 无法获取LinuxDo用户ID
|
||||
}
|
||||
Reference in New Issue
Block a user