Skip to content

Commit

Permalink
feat(secure-storage): add keys() and clear() methods (#1281)
Browse files Browse the repository at this point in the history
  • Loading branch information
oddcb authored and ihadeed committed Mar 29, 2017
1 parent 3b9e725 commit 8b31d72
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/@ionic-native/plugins/secure-storage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,26 @@ export class SecureStorageObject {
})
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; }



}

/**
Expand Down

0 comments on commit 8b31d72

Please sign in to comment.