@aparajita/capacitor-secure-storage
Version:
Capacitor 7+ plugin that provides secure storage for the iOS and Android
30 lines (29 loc) • 812 B
TypeScript
import { SecureStorageBase } from './base.js';
export declare class SecureStorageWeb extends SecureStorageBase {
protected setSynchronizeKeychain(_options: {
sync: boolean;
}): Promise<void>;
protected internalGetItem(options: {
prefixedKey: string;
}): Promise<{
data: string | null;
}>;
protected internalSetItem(options: {
prefixedKey: string;
data: string;
}): Promise<void>;
protected internalRemoveItem(options: {
prefixedKey: string;
}): Promise<{
success: boolean;
}>;
clear(): Promise<void>;
protected clearItemsWithPrefix(_options: {
prefix: string;
}): Promise<void>;
protected getPrefixedKeys(options: {
prefix: string;
}): Promise<{
keys: string[];
}>;
}