mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-22 01:19:36 +08:00
feat(secure-storage): add keys() and clear() methods (#1281)
This commit is contained in:
parent
3b9e7253db
commit
8b31d72139
@ -41,6 +41,26 @@ export class SecureStorageObject {
|
|||||||
})
|
})
|
||||||
remove(reference: string): Promise<any> { return; }
|
remove(reference: string): Promise<any> { return; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get all references from the storage.
|
||||||
|
* @returns {Promise<any>}
|
||||||
|
*/
|
||||||
|
@CordovaInstance({
|
||||||
|
callbackOrder: 'reverse'
|
||||||
|
})
|
||||||
|
keys(): Promise<any> { return; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clear all references from the storage.
|
||||||
|
* @returns {Promise<any>}
|
||||||
|
*/
|
||||||
|
@CordovaInstance({
|
||||||
|
callbackOrder: 'reverse'
|
||||||
|
})
|
||||||
|
clear(): Promise<any> { return; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user