1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/packages/lib/services/keychain/KeychainServiceDriver.dummy.ts

25 lines
603 B
TypeScript
Raw Normal View History

import KeychainServiceDriverBase from './KeychainServiceDriverBase';
export default class KeychainServiceDriver extends KeychainServiceDriverBase {
public override readonly driverId = 'dummy';
public async supported() {
return false;
}
public async setPassword(/* name:string, password:string*/): Promise<boolean> {
return false;
}
public async password(/* name:string*/): Promise<string> {
return null;
}
public async deletePassword(/* name:string*/): Promise<void> {
}
public async upgradeStorageBackend(_secureKeys: string[], _newDatabaseVersion: number): Promise<void> {
}
}