UNPKG

n8n-nodes-nextcloud-calendar

Version:

n8n Node für die Integration mit Nextcloud Calendar

58 lines 1.88 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NextcloudCalendarAuth = void 0; class NextcloudCalendarAuth { constructor() { this.name = 'nextcloudCalendarAuth'; this.displayName = 'Nextcloud Kalender Authentifizierung'; this.documentationUrl = 'https://docs.nextcloud.com/server/latest/user_manual/de/groupware/calendar.html'; this.properties = [ { displayName: 'Nextcloud URL', name: 'url', type: 'string', default: '', placeholder: 'https://ihre-nextcloud-instanz.de', required: true, }, { displayName: 'Benutzername', name: 'username', type: 'string', default: '', required: true, }, { displayName: 'Passwort', name: 'password', type: 'string', typeOptions: { password: true, }, default: '', required: true, }, ]; this.authenticate = { type: 'generic', properties: { auth: { username: '={{$credentials.username}}', password: '={{$credentials.password}}', }, }, }; this.test = { request: { baseURL: '={{$credentials.url}}/remote.php/dav', url: '/calendars/{{$credentials.username}}', method: 'GET', headers: { Depth: '0', }, }, }; } } exports.NextcloudCalendarAuth = NextcloudCalendarAuth; //# sourceMappingURL=NextcloudCalendarAuth.credentials.js.map