n8n/packages/nodes-base/credentials/HttpHeaderAuth.credentials.ts

27 lines
432 B
TypeScript
Raw Normal View History

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