1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | import { MultiFactorSession } from '../model/public_types';
|
18 | export declare const enum MultiFactorSessionType {
|
19 | ENROLL = "enroll",
|
20 | SIGN_IN = "signin"
|
21 | }
|
22 | interface SerializedMultiFactorSession {
|
23 | multiFactorSession: {
|
24 | idToken?: string;
|
25 | pendingCredential?: string;
|
26 | };
|
27 | }
|
28 | export declare class MultiFactorSessionImpl implements MultiFactorSession {
|
29 | readonly type: MultiFactorSessionType;
|
30 | readonly credential: string;
|
31 | private constructor();
|
32 | static _fromIdtoken(idToken: string): MultiFactorSessionImpl;
|
33 | static _fromMfaPendingCredential(mfaPendingCredential: string): MultiFactorSessionImpl;
|
34 | toJSON(): SerializedMultiFactorSession;
|
35 | static fromJSON(obj: Partial<SerializedMultiFactorSession>): MultiFactorSessionImpl | null;
|
36 | }
|
37 | export {};
|