n8n/packages/nodes-base/credentials/HttpHeaderAuth.credentials.ts
2021-06-12 18:39:55 +02:00

27 lines
432 B
TypeScript

import {
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
export class HttpHeaderAuth implements ICredentialType {
name = 'httpHeaderAuth';
displayName = 'Header Auth';
documentationUrl = 'httpRequest';
properties: INodeProperties[] = [
{
displayName: 'Name',
name: 'name',
type: 'string',
default: '',
},
{
displayName: 'Value',
name: 'value',
type: 'string',
default: '',
},
];
}