UNPKG

@cryptr/cryptr-spa-js

Version:

Cryptr SDK for Single Page Applications using passwordless authentication and/or SSO

12 lines (11 loc) 316 B
export interface Entry { key: string; body: string; } declare const Storage: { createCookie: (clientId: string, value: any, expires: Date) => Entry; getCookie: (key: string) => Object; deleteCookie: (key: string) => boolean; clearCookies: (key: string) => boolean; }; export default Storage;