refactor(llm): remove oauth helper facades · openclaw/openclaw@f9fc2ef
vincentkoc
·
2026-06-18
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -7,6 +7,10 @@
|
7 | 7 | |
8 | 8 | import type { Server } from "node:http"; |
9 | 9 | import { |
| 10 | +generateOAuthState, |
| 11 | +generatePKCE, |
| 12 | +oauthErrorHtml, |
| 13 | +oauthSuccessHtml, |
10 | 14 | parseOAuthAuthorizationInput, |
11 | 15 | resolveOAuthTokenExpiresAt, |
12 | 16 | } from "../../../plugin-sdk/provider-oauth-runtime.js"; |
@@ -16,8 +20,6 @@ import {
|
16 | 20 | throwIfOAuthLoginAborted, |
17 | 21 | withOAuthLoginAbort, |
18 | 22 | } from "./abort.js"; |
19 | | -import { oauthErrorHtml, oauthSuccessHtml } from "./oauth-page.js"; |
20 | | -import { generateOAuthState, generatePKCE } from "./pkce.js"; |
21 | 23 | import type { |
22 | 24 | OAuthCredentials, |
23 | 25 | OAuthLoginCallbacks, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。