cookieStorage
Function to create cookie based Storage
Import
import { cookieStorage } from "@account-kit/core";
Parameters
config
{sessionLength: number}
optional config object that allows you to set the session length
config.sessionLength
number
the length of the session in milliseconds
Returns
Storage
an instance of a browser storage object that leverages cookies