UNPKG

okta-mcp-server

Version:

Model Context Protocol (MCP) server for Okta API operations with support for bulk operations and caching

19 lines 630 B
/** * Simple MCP OAuth middleware for validating bearer tokens * This allows the MCP server to be protected by OAuth if desired */ import { Request } from '@modelcontextprotocol/sdk/types.js'; import type { MCPAuthConfig } from '../../types/index.js'; export declare class SimpleAuthMiddleware { private config; constructor(config: MCPAuthConfig); /** * Extract bearer token from MCP request metadata */ private extractBearerToken; /** * Validate bearer token and authenticate request */ authenticate(request: Request): Promise<void>; } //# sourceMappingURL=oauth-middleware.d.ts.map