Interface SimulateBootstrapOptions

interface SimulateBootstrapOptions {
    credentials: Credentials;
    device?: unknown;
    onChallenge?: Callback<{
        challenge: CheckpointResponseChallenge;
    }, {
        code: string;
    }>;
    onTwoFactor?: Callback<{
        twoFactorInfo: AccountRepositoryLoginErrorResponseTwoFactorInfo;
    }, {
        code: string;
        method?:
            | 0
            | 1
            | "TOTP"
            | "SMS";
        trustThisDevice?: boolean | "0" | "1";
    }>;
    postLoginFlow?: boolean;
    preLoginFlow?: boolean;
    saveState?: Callback<Partial<AndroidState>, void>;
    state?: any;
}

Properties

credentials: Credentials
device?: unknown
onChallenge?: Callback<{
    challenge: CheckpointResponseChallenge;
}, {
    code: string;
}>
onTwoFactor?: Callback<{
    twoFactorInfo: AccountRepositoryLoginErrorResponseTwoFactorInfo;
}, {
    code: string;
    method?:
        | 0
        | 1
        | "TOTP"
        | "SMS";
    trustThisDevice?: boolean | "0" | "1";
}>
postLoginFlow?: boolean
preLoginFlow?: boolean
saveState?: Callback<Partial<AndroidState>, void>
state?: any