/** * Expo SecureStore adapter (stub) * * This is a placeholder that will be replaced at runtime if expo-secure-store is installed. * The actual implementation would use expo-secure-store. */ import type { SecureStorageAdapter, SecureStorageOptions, StorageResult } from "./types"; export class ExpoSecureStorage implements SecureStorageAdapter { readonly name = "expo-secure-store-stub"; readonly available: boolean = false; constructor(_options?: SecureStorageOptions) { // This is a stub - actual implementation requires expo-secure-store } async get(_key: string): Promise> { return { ok: false, error: "expo-secure-store not installed" }; } async set(_key: string, _value: string): Promise> { return { ok: false, error: "expo-secure-store not installed" }; } async delete(_key: string): Promise> { return { ok: false, error: "expo-secure-store not installed" }; } async has(_key: string): Promise> { return { ok: false, error: "expo-secure-store not installed" }; } async clear(): Promise> { return { ok: false, error: "expo-secure-store not installed" }; } }