igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...

    Interface RegistrationPasswordActions

    The actions of RegistrationPasswordScreen: the method you call on its handle while the screen is open.

    interface RegistrationPasswordActions {
        submitPassword: (
            ...args: [password: string],
        ) => Effect<
            AssembledHandle<
                "RegistrationBirthday",
                "screen",
                {},
                RegistrationBirthdayActions,
                Record<never, never>,
                ScreenHandle,
                "required",
                true,
                never,
                AndroidScreens,
            >,

                | IgApiError
                | RequestError
                | ParseError
                | TransportError
                | PasswordEncryptionKeysUnavailableError
                | RegistrationWeakPasswordError
                | RegistrationChallengeRequiredError
                | RegistrationSpamError
                | ScreenEnterConcurrentError
                | ScreenDataError
                | ScreenEdgeInputError
                | RegistrationStateMissingError,
            never,
        >;
    }
    Index

    Properties

    Properties

    submitPassword: (
        ...args: [password: string],
    ) => Effect<
        AssembledHandle<
            "RegistrationBirthday",
            "screen",
            {},
            RegistrationBirthdayActions,
            Record<never, never>,
            ScreenHandle,
            "required",
            true,
            never,
            AndroidScreens,
        >,

            | IgApiError
            | RequestError
            | ParseError
            | TransportError
            | PasswordEncryptionKeysUnavailableError
            | RegistrationWeakPasswordError
            | RegistrationChallengeRequiredError
            | RegistrationSpamError
            | ScreenEnterConcurrentError
            | ScreenDataError
            | ScreenEdgeInputError
            | RegistrationStateMissingError,
        never,
    >

    Types a password and taps Next. A password the server refuses is the typed RegistrationWeakPasswordError and the screen stays on top; an accepted one answers the birthday screen's handle.