OptionalcallbackCallback triggered before a session refresh redirect happens.
Mandatory client id. Example: "1234567890abcdef12345678"
OptionaldefaultProduct or feature ids used by hasAccess() when no ids are passed to the method.
OptionalenvSchibsted 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.
OptionalgetReads consents forwarded in login URLs. Defaults to the Schibsted Sourcepoint integration.
OptionallogReceives debug logs and consent reader errors. Without it, consent reader errors are reported through console.warn.
Redirect uri. Example: "https://site.com"
OptionalrefreshRefresh consents of rendered login links when clicked. Defaults to true.
Session Service domain. Example: "https://id.site.com"
OptionalvarnishOptional Varnish cookie setup applied during Account initialization.
OptionalwindowWindow object to use. Defaults to the global window.
Configuration used to create an Account instance.