Files
oh-my-opencode/dist/features/mcp-oauth/discovery.d.ts
T

9 lines
314 B
TypeScript
Raw Normal View History

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