ice-utilities
Version:
Utilities for manage arrays, breadcrumb, dom elements, dates, injectors, local storage, login, objects, router animations, router, session storage, strings and translate utilities, encryption, for angular 6+ with ECMAScript 6 - ECMAScript 2015
15 lines (14 loc) • 515 B
TypeScript
export declare abstract class LoginUtils {
private static LoginKey;
static isLoggedin(): boolean;
static setLoggedin(): void;
static logOff(): void;
static logFail(err: any): void;
static setCurrentUser(value: any): void;
static getCurrentUser(): any;
static setEmpresasUser(empresas: any[]): void;
static getEmpresasUser(): any[];
static getEmresaIdProd(): any;
static setEmpresaCode(id: number, nombre?: string): void;
static getEmpresaCode(): any;
}