IGPAPI
    Preparing search index...

    Function TwoFactorBloksGetMethods

    • Calls two_step_verification.method_picker (the "Try another way" screen) and extracts available 2FA methods from the bloks response.

      A data fetch only: it does not navigate. Login also calls it to discover methods when the app never shows the picker; the flow that does show it (the user tapped "Try another way") emits the screen change.

      Returns Effect<
          {
              methods: (
                  | "whatsapp"
                  | "approve_from_another_device"
                  | "totp"
                  | "sms"
                  | "backup_codes"
              )[];
              preselectedMethod: | "whatsapp"
              | "approve_from_another_device"
              | "totp"
              | "sms"
              | "backup_codes"
              | undefined;
              response: Bloks.BloksResponse;
              selectQpl: TwoFactorBloksQpl
              | undefined;
          },
          BloksHttpError,
          MobileDevice
          | BloksHttp
          | MobileApplication,
      >