UNPKG

okta-mcp-server

Version:

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

26 lines 584 B
/** * Simple rate limiter for bulk operations */ export declare class RateLimiter { private tokens; private lastRefill; private readonly maxTokens; private readonly refillRate; constructor(options: { max: number; window: number; }); /** * Attempt to consume tokens */ consume(_key: string, count?: number): Promise<{ allowed: boolean; remaining: number; reset: number; }>; /** * Refill tokens based on time elapsed */ private refill; } //# sourceMappingURL=rate-limiter.d.ts.map