n8n-nodes-plex-datasource
Version:
n8n node for calling Plex ERP Data Sources
40 lines • 1.18 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PlexBasicAuthApi = void 0;
class PlexBasicAuthApi {
name = 'plexBasicAuthApi';
displayName = 'Plex Basic Auth API';
documentationUrl = 'https://www.plex.com/api/docs';
properties = [
{
displayName: 'Username',
name: 'username',
type: 'string',
default: '',
required: true,
description: 'The username for Plex API authentication',
},
{
displayName: 'Password',
name: 'password',
type: 'string',
typeOptions: {
password: true,
},
default: '',
required: true,
description: 'The password for Plex API authentication',
},
];
authenticate = {
type: 'generic',
properties: {
auth: {
username: '={{$credentials.username}}',
password: '={{$credentials.password}}',
},
},
};
}
exports.PlexBasicAuthApi = PlexBasicAuthApi;
//# sourceMappingURL=PlexBasicAuthApi.credentials.js.map