UNPKG

mcp-use

Version:

Opinionated MCP Framework for TypeScript (@modelcontextprotocol/sdk compatible) - Build MCP Agents, Clients and Servers with support for ChatGPT Apps, Code Mode, OAuth, Notifications, Sampling, Observability and more.

22 lines 741 B
/** * Keycloak OAuth Provider * * Implements OAuth authentication for Keycloak servers. * Supports realm roles, client roles, and resource access. */ import type { OAuthProvider, UserInfo, KeycloakOAuthConfig } from "./types.js"; export declare class KeycloakOAuthProvider implements OAuthProvider { private config; private issuer; private jwks; constructor(config: KeycloakOAuthConfig); private getJWKS; verifyToken(token: string): Promise<any>; getUserInfo(payload: Record<string, unknown>): UserInfo; getIssuer(): string; getAuthEndpoint(): string; getTokenEndpoint(): string; getScopesSupported(): string[]; getGrantTypesSupported(): string[]; } //# sourceMappingURL=keycloak.d.ts.map