feat: Maximus Account OAuth2 + machine activation (#51, #53) #65

Merged
maximus merged 7 commits from issue-51-compte-maximus-oauth into main 2026-04-10 19:38:28 +00:00
2 changed files with 0 additions and 5 deletions
Showing only changes of commit e314bbe1e3 - Show all commits

View file

@ -157,7 +157,6 @@ pub fn run() {
commands::list_activated_machines, commands::list_activated_machines,
commands::get_activation_status, commands::get_activation_status,
commands::start_oauth, commands::start_oauth,
commands::handle_auth_callback,
commands::refresh_auth_token, commands::refresh_auth_token,
commands::get_account_info, commands::get_account_info,
commands::check_subscription_status, commands::check_subscription_status,

View file

@ -11,10 +11,6 @@ export async function startOAuth(): Promise<string> {
return invoke<string>("start_oauth"); return invoke<string>("start_oauth");
} }
export async function handleAuthCallback(code: string): Promise<AccountInfo> {
return invoke<AccountInfo>("handle_auth_callback", { code });
}
export async function refreshAuthToken(): Promise<AccountInfo> { export async function refreshAuthToken(): Promise<AccountInfo> {
return invoke<AccountInfo>("refresh_auth_token"); return invoke<AccountInfo>("refresh_auth_token");
} }