forked from authts/oidc-client-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIWindow.ts
More file actions
29 lines (27 loc) · 700 Bytes
/
Copy pathIWindow.ts
File metadata and controls
29 lines (27 loc) · 700 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
/**
* @public
*/
export interface NavigateParams {
url: string;
/** The request "nonce" parameter. */
nonce?: string;
/** The request "state" parameter. For sign out requests, this parameter is optional. */
state?: string;
response_mode?: "query" | "fragment";
scriptOrigin?: string;
}
/**
* @public
*/
export interface NavigateResponse {
url: string;
}
/**
* @public
*/
export interface IWindow {
navigate(params: NavigateParams): Promise<NavigateResponse>;
close(): void;
}