import type { ICredentialType, INodeProperties, } from 'n8n-workflow'; export class AdCollectorApi implements ICredentialType { name = 'adCollectorApi'; displayName = 'AD Collector API'; documentationUrl = 'https://github.com/Fuskerrs/docker-ad-collector-n8n'; properties: INodeProperties[] = [ { displayName: 'Collector URL', name: 'collectorUrl', type: 'string', default: '', placeholder: 'http://localhost:8443', description: 'URL of the AD Collector API server (including protocol and port)', required: true, }, { displayName: 'JWT Token', name: 'jwtToken', type: 'string', typeOptions: { password: true }, default: '', description: 'JWT Bearer token for authentication (obtained from AD Collector)', required: true, }, { displayName: 'Notice', name: 'notice', type: 'notice', default: '', description: `
âšī¸ AD Collector Setup
The AD Collector must be running and configured before using this connection.
docker run -d -p 8443:8443 fuskerrs97/ad-collector-n8nhttp://<host>:8443