OptionalcallbackBeforeRedirect?: IdentityBeforeRedirectCallbackCallback triggered before a session refresh redirect happens.
OptionaldefaultProductIds?: readonly string[]Product or feature ids used by hasAccess() when no ids are passed to the method.
Optionalenv?: AccountBaseConfig["env"]Schibsted account environment. Defaults to PRE.
Generates the OAuth state value used by login(), loginUrl(), and the simplified login
widget when no explicit state is passed.
OptionalgetConsents?: ConsentReaderReads consents forwarded in login URLs. Defaults to the Schibsted Sourcepoint integration.
Optionallog?: LogFunctionReceives debug logs and consent reader errors. Without it, consent reader errors are reported through console.warn.
OptionalrefreshLoginLinks?: booleanRefresh consents of rendered login links when clicked. Defaults to true.
Optionalvarnish?: VarnishCookieOptionsOptional Varnish cookie setup applied during Account initialization.
Configuration used to create an Account instance.