UNPKG

oidc-client-rx

Version:

ReactiveX enhanced OIDC and OAuth2 protocol support for browser-based JavaScript applications

32 lines 1.26 kB
import { Observable } from "rxjs"; import type { OpenIdConfiguration } from "../config/openid-configuration"; export declare class CheckSessionService { private readonly destoryRef$; private readonly loggerService; private readonly storagePersistenceService; private readonly iFrameService; private readonly eventService; private readonly document; private checkSessionReceived; private scheduledHeartBeatRunning; private lastIFrameRefresh; private outstandingMessages; private readonly heartBeatInterval; private readonly iframeRefreshInterval; private readonly checkSessionChangedInternal$; constructor(); private iframeMessageEventListener?; get checkSessionChanged$(): Observable<boolean>; isCheckSessionConfigured(configuration: OpenIdConfiguration): boolean; start(configuration: OpenIdConfiguration): void; stop(): void; serverStateChanged(configuration: OpenIdConfiguration): boolean; getExistingIframe(): HTMLIFrameElement | null; private init; private pollServerSession; private clearScheduledHeartBeat; private messageHandler; private bindMessageEventToIframe; private getOrCreateIframe; } //# sourceMappingURL=check-session.service.d.ts.map