import { HttpClient } from '@angular/common/http'; import { Router } from '@angular/router'; import { Observable, BehaviorSubject } from 'rxjs'; import * as i0 from "@angular/core"; export declare class UserInformationModel { displayName: string; email?: string; permission: Array | number; role: Array; sub: string; exp: number; responseRequired: string; } export declare class OpenIdResponseModel { token_type: string; access_token: string; expires_in: number; refresh_token: string; refresh_token_expires_in: number; scope: string; } export declare class AuthenticationService { private router; private httpService; private jwtHelper; accessToken: string; private _refreshToken; private _jwtToken; userChanged: BehaviorSubject; private timer$; get isAuthenticated(): boolean; get isAccessTokenExpired(): boolean; get isResponseRequired(): boolean; private setAuthentication; clearAuthentication(): void; private clearTimer; constructor(router: Router, httpService: HttpClient); requestToken(username: string, password: string, identityProvider?: string): Observable<{} | Response>; externalLogin(code: string, identityProvider: string): Observable<{} | Response>; refreshToken(): Observable<{} | Response>; private sendAuthenticationRequest; developerLogin(username: string): Observable<{} | Response>; logoutHandler: (returnUrl?: string) => void; setLogoutHandler(handler: (_?: string) => void): void; logout(returnUrl?: string): void; inRoles(roles: Array): boolean; hasPermission(permissions: Array): boolean; private encodeObjectToParams; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } //# sourceMappingURL=authentication.service.d.ts.map