import { HttpClient, HttpHeaders } from "@angular/common/http"; import { Observable } from "rxjs/Observable"; import "rxjs/add/operator/map"; import "rxjs/add/operator/catch"; import "rxjs/add/operator/share"; import { AuthLocatorService } from "./auth-locator.service"; import { LoginModel } from "../common/login.model"; import { CurrentUserModel } from "../common/currentUser.model"; export declare class AuthService { private http; private urlService; headers: HttpHeaders; private onSubject; currentUserChanges: Observable; constructor(http: HttpClient, urlService: AuthLocatorService); ngOnDestroy(): void; doLogin(userLogin: LoginModel, urlLogin?: string): Observable; doSamlLogin(urlLogin: any): Observable; doAlias(userLogin: LoginModel, urlLogin?: string): Observable; doRole(userLogin: LoginModel, urlLogin?: string): Observable; doLogout(urlLogout?: string): Observable; doSamlLogout(urlLogout?: string): Observable; getCurrentUser(urlMe?: string): Observable; getCurrentPrincipal(urlMe?: string): Observable; getCurrentRole(): string; saveCurrentUserInLS(currentUser: CurrentUserModel): CurrentUserModel; deleteCurrentUserInLS(): void; getCurrentUserFromLS(): any; private start(); private storageEventListener(event); private stop(); private normalizeLocalStorageItem(currentUser); private handleError(error); }