import { Observable } from 'rxjs'; import { BaseAuthenticationService } from '../services/base-authentication.service'; import { HttpHeaders } from '@angular/common/http'; import * as i0 from "@angular/core"; export declare class OidcAuthenticationService extends BaseAuthenticationService { private readonly jwtHelperService; private readonly authStorage; private readonly oauthService; private readonly authConfig; private readonly auth; /** * Observable that determines whether an SSO login should be performed. * * This observable combines the authentication status and the discovery document load status * to decide if an SSO login is necessary. It emits `true` if the user is not authenticated * and the discovery document is loaded, otherwise it emits `false`. */ shouldPerformSsoLogin$: Observable; constructor(); isLoggedIn(): boolean; hasValidAccessToken(): boolean; hasValidIdToken(): boolean; login(username: string, password: string): Observable<{ type: string; ticket: any; }>; loginWithPassword(username: string, password: string): Observable<{ type: string; ticket: any; }>; /** * Gets the username of the authenticated user. * * @returns the logged username */ getUsername(): string; ssoLogin(redirectUrl?: string): void; isRememberMeSet(): boolean; logout(): Observable; getToken(): string; reset(): void; isPublicUrl(): boolean; getAuthHeaders(_requestUrl: string, header: HttpHeaders): HttpHeaders; private addBearerToken; private getLogoutOptions; private getLogoutParamValue; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }