2019-09-03 22:37:48 -07:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
2021-06-12 09:39:55 -07:00
|
|
|
INodeProperties,
|
2019-09-03 22:37:48 -07:00
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
|
|
|
|
export class HttpDigestAuth implements ICredentialType {
|
|
|
|
name = 'httpDigestAuth';
|
|
|
|
displayName = 'Digest Auth';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'httpRequest';
|
2021-09-11 01:15:36 -07:00
|
|
|
icon = 'node:n8n-nodes-base.httpRequest';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2019-09-03 22:37:48 -07:00
|
|
|
{
|
|
|
|
displayName: 'User',
|
|
|
|
name: 'user',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2019-09-03 22:37:48 -07:00
|
|
|
default: '',
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Password',
|
|
|
|
name: 'password',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2019-09-03 22:37:48 -07:00
|
|
|
typeOptions: {
|
|
|
|
password: true,
|
|
|
|
},
|
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|