Skip to main content

ClientCredentialsDependencies

Index

Properties

readonlyfetch

fetch: typeof fetch

readonlyisBrowserEnvironment

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.


Type declaration

    • (): boolean
    • Returns boolean

readonlyopenIdConnectProviderMetadataFetcher

openIdConnectProviderMetadataFetcher: OpenIdConnectProviderMetadataFetcher