tailscale-web - v0.1.13
    Preparing search index...

    Interface InitOptions

    interface InitOptions {
        controlUrl?: string;
        hostname?: string;
        onAuthComplete?: () => void;
        onAuthRequired?: (url: string) => void;
        storage?: StorageAdapter | null;
        storagePrefix?: string;
    }
    Index

    Properties

    controlUrl?: string

    Override the Tailscale coordination server URL.

    hostname?: string

    Device name as it appears on the tailnet. Default: "tailscale-web"

    onAuthComplete?: () => void

    Called once the device is authenticated and connected.

    onAuthRequired?: (url: string) => void

    Called with the OAuth URL when interactive login is needed.

    storage?: StorageAdapter | null

    Custom storage backend for persisting Tailscale state. If omitted, defaults to localStorage in browser environments, or an in-memory store (no persistence) elsewhere.

    storagePrefix?: string

    Key prefix used by the default localStorage store. Keys are written as "{prefix}_{stateKey}". Default: "tailscale-web"