@twinfinity/core
    Preparing search index...

    Interface ClientCredentialsDependencies

    interface ClientCredentialsDependencies {
        fetch: typeof fetch;
        isBrowserEnvironment: () => boolean;
        openIdConnectProviderMetadataFetcher: OpenIdConnectProviderMetadataFetcher;
    }
    Index

    Properties

    fetch: typeof fetch
    isBrowserEnvironment: () => boolean

    Whether the current runtime is a browser delivering code to end users. Defaults to detecting a window with a document. The client-credentials flow refuses to run in a browser because it carries the client secret. Tests (which run under a DOM emulator) and other knowingly non-end-user DOM environments can inject their own detection.

    openIdConnectProviderMetadataFetcher: OpenIdConnectProviderMetadataFetcher