drupflare/worker - v1.0.4
    Preparing search index...

    Type Alias OidcDeps

    the network and crypto seams completeLogin calls, injectable for tests

    type OidcDeps = {
        fetch: (
            url: string,
            init?: { body: string; headers: Record<string, string>; method: string },
        ) => Promise<
            {
                ok: boolean;
                status: number;
                json(): Promise<unknown>;
                text(): Promise<string>;
            },
        >;
    }
    Index
    fetch: (
        url: string,
        init?: { body: string; headers: Record<string, string>; method: string },
    ) => Promise<
        {
            ok: boolean;
            status: number;
            json(): Promise<unknown>;
            text(): Promise<string>;
        },
    >