mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
Initial commit to release
This commit is contained in:
28
packages/nodes-base/credentials/HttpBasicAuth.credentials.ts
Normal file
28
packages/nodes-base/credentials/HttpBasicAuth.credentials.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import {
|
||||
ICredentialType,
|
||||
NodePropertyTypes,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
|
||||
export class HttpBasicAuth implements ICredentialType {
|
||||
name = 'httpBasicAuth';
|
||||
displayName = 'Basic Auth';
|
||||
properties = [
|
||||
{
|
||||
displayName: 'User',
|
||||
name: 'user',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: '',
|
||||
|
||||
},
|
||||
{
|
||||
displayName: 'Password',
|
||||
name: 'password',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
typeOptions: {
|
||||
password: true,
|
||||
},
|
||||
default: '',
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user