@openvireo/sdk - v1.0.0
    Preparing search index...

    Interface AccountOptions

    interface AccountOptions {
        config?: OpenVireoConfiguration;
        device: DeviceInfo;
        fetch?: FetchLike;
        headers?: Record<string, string>;
        issuer: string;
        log?: LogSink;
        offline?: boolean;
        storage?: KeyValueStorage;
    }

    Hierarchy

    • HostOptions
      • AccountOptions
    Index

    skip discovery (tests)

    device: DeviceInfo
    fetch?: FetchLike

    defaults to globalThis.fetch

    headers?: Record<string, string>

    extra headers for every request (e.g. User-Agent in Node)

    issuer: string

    the hosted issuer, e.g. https://accounts.openvireo.com

    log?: LogSink
    offline?: boolean

    Keep what this device needs to unlock and open vaults without the network in storage, none of it in clear (the core's offline cache, SPEC §20). When a server can't be reached, connect, unlock, listVaults and openVault fall back to it and offline turns true; reconnect goes back online.

    storage?: KeyValueStorage

    the session, trusted-device Secret Keys and (with offline) the offline cache (default: memory)