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

26 lines
422 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';
properties = [
{
displayName: 'Name',
name: 'name',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Value',
name: 'value',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}