UNPKG

dtamind-components

Version:

Apps integration for Dtamind. Contain Nodes and Credentials.

29 lines (25 loc) 754 B
import { INodeParams, INodeCredential } from '../src/Interface' class HttpBasicAuthCredential implements INodeCredential { label: string name: string version: number inputs: INodeParams[] constructor() { this.label = 'HTTP Basic Auth' this.name = 'httpBasicAuth' this.version = 1.0 this.inputs = [ { label: 'Basic Auth Username', name: 'basicAuthUsername', type: 'string' }, { label: 'Basic Auth Password', name: 'basicAuthPassword', type: 'password' } ] } } module.exports = { credClass: HttpBasicAuthCredential }