n8n
Version:
n8n Workflow Automation Tool
18 lines (17 loc) • 883 B
TypeScript
import { ControllerRegistryMetadata } from '@n8n/decorators';
import type { Router } from 'express';
import { EventService } from '../events/event.service';
import { AuthStrategyRegistry } from '../services/auth-strategy.registry';
import { LastActiveAtService } from '../services/last-active-at.service';
export declare class PublicApiControllerRegistry {
private readonly metadata;
private readonly authStrategyRegistry;
private readonly lastActiveAtService;
private readonly eventService;
constructor(metadata: ControllerRegistryMetadata, authStrategyRegistry: AuthStrategyRegistry, lastActiveAtService: LastActiveAtService, eventService: EventService);
activate(router: Router, apiVersion: string): void;
private activateController;
private createAuthMiddleware;
private createApiKeyScopeMiddleware;
private createAccessScopeMiddleware;
}