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

27 lines
457 B
TypeScript
Raw Normal View History

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