Skip to content

Commit 4a23f5e

Browse files
committed
2 parents 42e1eaa + 90dda5f commit 4a23f5e

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

index.d.ts

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,4 +345,22 @@ export interface OidcMetadata {
345345
grant_types_supported: string[];
346346
response_modes_supported: string[];
347347
code_challenge_methods_supported: string[];
348-
}
348+
}
349+
350+
export interface CheckSessionIFrame {
351+
new (callback: () => void, client_id: string, url: string, interval?: number, stopOnError?: boolean): CheckSessionIFrame
352+
353+
load(): Promise<void>;
354+
355+
start(session_state: string): void;
356+
357+
stop(): void;
358+
}
359+
360+
export interface CheckSessionIFrameCtor {
361+
(callback: () => void, client_id: string, url: string, interval?: number, stopOnError?: boolean): CheckSessionIFrame;
362+
}
363+
364+
export class SessionMonitor {
365+
constructor(userManager: UserManager, CheckSessionIFrameCtor: CheckSessionIFrameCtor);
366+
}

0 commit comments

Comments
 (0)