Interface

HankoOptions

HankoOptions

The options for the Hanko class
Properties:
Name Type Attributes Description
timeout number <optional>
The http request timeout in milliseconds. Defaults to 13000ms
cookieName string <optional>
The name of the session cookie set from the SDK. Defaults to "hanko"
cookieDomain string <optional>
The domain where the cookie set from the SDK is available. Defaults to the domain of the page where the cookie was created.
cookieSameSite string <optional>
Specify whether/when cookies are sent with cross-site requests. Defaults to "lax".
localStorageKey string <optional>
The prefix / name of the local storage keys. Defaults to "hanko"

View Source Hanko.ts, line 114