summaryrefslogtreecommitdiffstats
path: root/server/lib/external-backends/backends/another-backend.js
blob: 90b8f8b5f2027acb318bcd64262d6958bc3afa51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
var ExternalBackends = require('../external-backends.js')

class AnotherBackend extends ExternalBackends {
  getCredentials () {
    return [{ type: 'text', id: 1, name: 'text 1' }, { type: 'text', id: 2, name: 'text 2' }, { type: 'password', id: 3, name: 'password 1', show: false }, { type: 'password', id: 4, name: 'password 2', show: true }, { type: 'password', id: 5, name: 'password 3', show: false }]
  }

  async checkConnection () {
    return { success: true }
  }
}

module.exports = AnotherBackend