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 731 B
/** * Auth0 OAuth Provider * * Implements OAuth authentication for Auth0 tenants. * Supports JWKS-based JWT verification with permissions and roles. */ import type { OAuthProvider, UserInfo, Auth0OAuthConfig } from "./types.js"; export declare class Auth0OAuthProvider implements OAuthProvider { private config; private issuer; private jwks; constructor(config: Auth0OAuthConfig); private getJWKS; verifyToken(token: string): Promise<any>; getUserInfo(payload: Record<string, unknown>): UserInfo; getIssuer(): string; getAuthEndpoint(): string; getTokenEndpoint(): string; getScopesSupported(): string[]; getGrantTypesSupported(): string[]; } //# sourceMappingURL=auth0.d.ts.map