import { INodeParams, INodeCredential } from '../src/Interface'
class JiraApiBearerToken implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]
constructor() {
this.label = 'Jira API (Bearer Token)'
this.name = 'jiraApiBearerToken'
this.version = 1.0
this.description =
'Use Personal Access Token (PAT) for Jira Server/Data Center. Refer to official guide on how to create a PAT.'
this.inputs = [
{
label: 'Bearer Token',
name: 'bearerToken',
type: 'password',
placeholder: ''
}
]
}
}
module.exports = { credClass: JiraApiBearerToken }