Move OAuth definitions into shared, add more

This commit is contained in:
Justin Spahr-Summers 2025-02-16 20:07:30 +00:00
commit afae4212e6
No known key found for this signature in database

View file

@ -2,7 +2,8 @@ import { createServer, type IncomingMessage, type Server } from "http";
import { AddressInfo } from "net";
import { JSONRPCMessage } from "../types.js";
import { SSEClientTransport } from "./sse.js";
import { OAuthClientProvider, OAuthTokens, UnauthorizedError } from "./auth.js";
import { OAuthClientProvider, UnauthorizedError } from "./auth.js";
import { OAuthTokens } from "../shared/auth.js";
describe("SSEClientTransport", () => {
let server: Server;