import { Observable } from 'rxjs'; import { Injector } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Router } from '@angular/router'; import { JwtToken } from '../models/jwt-token'; import { EnvironmentConfig } from '../as-v11-connector.module'; import * as i0 from "@angular/core"; export declare class AuthenticationService { private environment; private injector; private router; currentToken: Observable; private currentTokenSubject; private refreshTokenTimeout; constructor(environment: EnvironmentConfig, injector: Injector, router: Router); get http(): HttpClient; get currentTokenValue(): JwtToken; isTokenValid(): boolean; login(username: string, password: string): Observable; profile(): void; logout(): void; passwordChange(newPassword: string): void; refreshToken(): void; /** * Needed for silent token refresh, 1 minute before expiration. */ private startRefreshTokenTimer; private stopRefreshTokenTimer; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }