OptionalaccessToken?: AccessTokenOptionalapiPrefix?: stringOptionalauth?: NextDrupalAuthOverride the default auth. You can use this to implement your own authentication mechanism.
Optionaldebug?: booleanOptionalfetcher?: FetcherOverride the default fetcher. Use this to add your own fetcher ex. axios.
fetchOptionalfrontPage?: stringOptionalheaders?: HeadersInitSet custom headers for the fetcher.
{ "Content-Type": "application/vnd.api+json", Accept: "application/vnd.api+json" }Optionallogger?: LoggerOverride the default logger. You can use this to send logs to a third-party service.
consoleOptionalwithAuth?: booleanSet whether the client should use authenticated requests by default.
true
A long-lived access token you can set for the client.
nullDocumentation