Skip to content

Commit d1207c5

Browse files
committed
Support changing store of WebStorageStateStore
1 parent 1d9a67c commit d1207c5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

oidc-client.d.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,15 @@ declare namespace Oidc {
169169
iframeNavigator?: any;
170170
userStore?: any;
171171
}
172-
interface WebStorageStateStore {
172+
173+
interface WebStorageStateStoreSettings {
174+
prefix?: string;
175+
store?: any;
176+
}
177+
178+
class WebStorageStateStore {
179+
constructor(settings: WebStorageStateStoreSettings);
180+
173181
set(key: string, value: any): Promise<void>;
174182

175183
get(key: string): Promise<any>;

0 commit comments

Comments
 (0)