Files
oh-my-opencode/dist/features/mcp-oauth/discovery.d.ts
T
2026-03-14 04:56:50 +00:00

9 lines
314 B
TypeScript

export interface OAuthServerMetadata {
authorizationEndpoint: string;
tokenEndpoint: string;
registrationEndpoint?: string;
resource: string;
}
export declare function discoverOAuthServerMetadata(resource: string): Promise<OAuthServerMetadata>;
export declare function resetDiscoveryCache(): void;