UNPKG

@accounts/client

Version:

Fullstack authentication and accounts-management

19 lines (18 loc) 481 B
import { type TokenStorage } from '.'; export interface AccountsClientOptions { /** * Storage that accounts-js will use to store the tokens. * Default: 'localStorage'. */ tokenStorage?: TokenStorage; /** * Token that will prefix the storage key. * Default: 'accounts'. */ tokenStoragePrefix?: string; /** * Token that will separate the storage key and value. * Default: ':'. */ tokenStorageSeparator?: string; }