UNPKG

@okta/okta-auth-js

Version:
8 lines (7 loc) 638 B
import { OktaAuthOAuthInterface } from '../types'; export declare function addListener(eventTarget: any, name: any, fn: any): void; export declare function removeListener(eventTarget: any, name: any, fn: any): void; export declare function loadFrame(src: any): HTMLIFrameElement; export declare function loadPopup(src: any, options: any): Window | null; export declare function addPostMessageListener(sdk: OktaAuthOAuthInterface, timeout: any, state: any): Promise<unknown>; export declare function addIDPPopupLisenter(sdk: OktaAuthOAuthInterface, timeout: number | undefined, channel: BroadcastChannel, state: string): Promise<unknown>;