Member Junction
    Preparing search index...
    interface WidgetAuthAdapterDeps {
        apiUrl?: string | null;
        now?: () => number;
        post: HttpPostPort;
        provider: AuthProviderPort;
        refresh?: (() => Promise<string>) | null;
    }
    Index

    Properties

    apiUrl?: string | null

    MJAPI root. Null in a host app that already configured auth.

    now?: () => number

    post

    refresh?: (() => Promise<string>) | null

    Renews a held token (the widget-key path); absent when the credential cannot be renewed.