support unlinking external authentication

This commit is contained in:
MaysWind
2025-10-25 02:45:40 +08:00
parent 7b49a9f142
commit ce752c992c
26 changed files with 707 additions and 39 deletions
+12
View File
@@ -0,0 +1,12 @@
export interface UserExternalAuthUnlinkRequest {
readonly externalAuthType: string;
readonly password: string;
}
export interface UserExternalAuthInfoResponse {
readonly externalAuthCategory: string;
readonly externalAuthType: string;
readonly linked: boolean;
readonly externalUsername?: string;
readonly createdAt?: number;
}