n8n/packages/nodes-base/credentials/HubspotAppToken.credentials.ts
Ricardo Espinoza f73100a0bd
feat(Hubspot): Add support for Private App Token Authentication
* add Hubspot Private App Token Authentication

*  Add credential verification

*  Rename app token

Co-authored-by: Rene Wagner <wagner@villacircle.com>
Co-authored-by: Jan Oberhauser <janober@users.noreply.github.com>
2022-03-13 11:52:47 +01:00

19 lines
356 B
TypeScript

import {
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
export class HubspotAppToken implements ICredentialType {
name = 'hubspotAppToken';
displayName = 'Hubspot App Token';
documentationUrl = 'hubspot';
properties: INodeProperties[] = [
{
displayName: 'APP Token',
name: 'appToken',
type: 'string',
default: '',
},
];
}