Repository URL to install this package:
|
Version:
0.3.1 ▾
|
import { AuthService } from 'web-console-core';
import { NGXLogger } from 'ngx-logger';
import { AdminsService } from '@wa-motif-open-api/user-mgr-service';
import { Observable } from 'rxjs/Observable';
export interface CurrentUserInfo {
userName: string;
userAbbr: string;
lastAccess: Date;
details?: any;
}
export declare class SessionService {
private logger;
private authService;
private adminsService;
private _currentUser;
constructor(logger: NGXLogger, authService: AuthService, adminsService: AdminsService);
private init;
readonly currentUser: Observable<CurrentUserInfo>;
invalidateCache(): void;
private buildAbbr;
}