import * as auth0 from 'auth0-js'; import { Observable } from 'rxjs'; import { Authentication, AuthOptions } from '../models/auth.model'; import { AuthDatesService } from './auth-dates.service'; export declare class AuthProviderService { private dateService; private webAuth; private authOptions; ACCESS_TOKEN: string; ID_TOKEN: string; EXPIRES_AT: string; REDIRECT_URL: string; private readonly localStoragePrefix; accessToken: string; idToken: string; expiresAt: string; redirectUrl: string; constructor(dateService: AuthDatesService, webAuth: auth0.WebAuth, authOptions: AuthOptions); authorize(options: auth0.AuthorizeOptions): void; logout(options?: auth0.LogoutOptions): void; handleAuthentication(): Observable; checkSession(): Observable; changePassword(options: auth0.ChangePasswordOptions): Observable; getUserInfo(): Observable; scheduleSessionCheck(): Observable; clearLocalStorage(): void; getAuthState(): Authentication; private callback; private checkAuthResult; private authorizationHandler; private mapToAuthemticationState; private setSession; private addOrRemoveFromLocalStorage; }