1 | import { ClientStorage } from './storage';
|
2 | interface Transaction {
|
3 | nonce: string;
|
4 | scope: string;
|
5 | audience: string;
|
6 | appState?: any;
|
7 | code_verifier: string;
|
8 | redirect_uri?: string;
|
9 | organization?: string;
|
10 | state?: string;
|
11 | }
|
12 | export declare class TransactionManager {
|
13 | private storage;
|
14 | private clientId;
|
15 | private cookieDomain?;
|
16 | private storageKey;
|
17 | constructor(storage: ClientStorage, clientId: string, cookieDomain?: string | undefined);
|
18 | create(transaction: Transaction): void;
|
19 | get(): Transaction | undefined;
|
20 | remove(): void;
|
21 | }
|
22 | export {};
|