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

30 lines
482 B
TypeScript

import {
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
export class HttpDigestAuth implements ICredentialType {
name = 'httpDigestAuth';
displayName = 'Digest Auth';
documentationUrl = 'httpRequest';
properties: INodeProperties[] = [
{
displayName: 'User',
name: 'user',
type: 'string',
default: '',
},
{
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: {
password: true,
},
default: '',
},
];
}