UNPKG

n8n-nodes-sm2-crypto

Version:
47 lines 1.41 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Sm2CryptoCredentialsApi = void 0; class Sm2CryptoCredentialsApi { constructor() { this.name = 'sm2CryptoCredentialsApi'; this.displayName = 'Example Credentials API'; this.documentationUrl = 'https://your-docs-url'; this.properties = [ { displayName: 'User Name', name: 'username', type: 'string', default: '', }, { displayName: 'Password', name: 'password', type: 'string', typeOptions: { password: true, }, default: '', }, ]; this.authenticate = { type: 'generic', properties: { auth: { username: '={{ $credentials.username }}', password: '={{ $credentials.password }}', }, qs: { n8n: 'rocks', }, }, }; this.test = { request: { baseURL: 'https://example.com/', url: '', }, }; } } exports.Sm2CryptoCredentialsApi = Sm2CryptoCredentialsApi; //# sourceMappingURL=Sm2CryptoCredentialsApi.credentials.js.map