matrix-js-sdk
    Preparing search index...

    Interface OAuth2HttpOptions

    Options controlling how an OAuth2 instance makes HTTP requests to the authorization server.

    interface OAuth2HttpOptions {
        fetchFn?: {
            (input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
            (input: string | Request | URL, init?: RequestInit): Promise<Response>;
        };
    }
    Index
    fetchFn?: {
        (input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
        (input: string | Request | URL, init?: RequestInit): Promise<Response>;
    }

    The function to invoke for HTTP requests. Defaults to the global fetch.

    Type Declaration