UNPKG

iptdevs-design-system

Version:

Library common elements into IPT Plattform.

19 lines (18 loc) 698 B
import { Session } from "../../models/session/session.model"; import { UserRs } from "../../models/user/user-rs.model"; import * as i0 from "@angular/core"; export declare class StorageService { private localStorageService; private currentSession; constructor(); setCurrentSession(session: Session): void; loadSessionData(): Session | null; getCurrentSession(): Session | null; removeCurrentSession(): void; getCurrentUser(): UserRs | null; isAuthenticated(): boolean; getCurrentToken(): string | null; logout(): void; static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>; }