UNPKG

desmy-react

Version:

Introducing an easy-to-use, lightning-fast React.js component that streamlines your development process. Our solution prioritizes simplicity, speed, and optimization, making it a breeze to build projects in React.

28 lines (27 loc) 804 B
declare class DesmyAuth { constructor(); logout(): void; logoutApplication(): void; clearList(datallist: { key: string; value: any; }[], callback: (arg0: boolean) => void): void; get(name: string): string | null; saveList(datallist: { key: string; value: any; }[], callback: (arg0: boolean) => void): void; clear(): void; clientClear: () => void; remove(name: string): void; save(key: string, data: string): void; getCookie(name: string): string | null; deleteCookie(name: string, path?: string): void; setCookie(name: string, value: string, options?: { expires?: number | Date; path?: string; secure?: boolean; }): void; } declare const _default: DesmyAuth; export default _default;