1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | import { AuthEventManager } from '../../core/auth/auth_event_manager';
|
18 | import { AuthInternal } from '../../model/auth';
|
19 | import { AuthEvent, AuthEventType } from '../../model/popup_redirect';
|
20 |
|
21 | export declare class CordovaAuthEventManager extends AuthEventManager {
|
22 | private readonly passiveListeners;
|
23 | private resolveInialized;
|
24 | private initPromise;
|
25 | addPassiveListener(cb: (e: AuthEvent) => void): void;
|
26 | removePassiveListener(cb: (e: AuthEvent) => void): void;
|
27 | resetRedirect(): void;
|
28 |
|
29 | onEvent(event: AuthEvent): boolean;
|
30 | initialized(): Promise<void>;
|
31 | }
|
32 |
|
33 |
|
34 |
|
35 | export declare function _generateNewEvent(auth: AuthInternal, type: AuthEventType, eventId?: string | null): AuthEvent;
|
36 | export declare function _savePartialEvent(auth: AuthInternal, event: AuthEvent): Promise<void>;
|
37 | export declare function _getAndRemoveEvent(auth: AuthInternal): Promise<AuthEvent | null>;
|
38 | export declare function _eventFromPartialAndUrl(partialEvent: AuthEvent, url: string): AuthEvent | null;
|
39 | export declare function _getDeepLinkFromCallback(url: string): string;
|