def get_new_two_factor_key(
    self,
) -> dict:
    """Returns a barcode (base64 encoded) to scan with an authentication
    application to setup app-based two factor authentication for your
    account.

    .. list-table::
        :header-rows: 1

        * - Swagger Section
          - Method
          - Endpoint
        * - user
          - GET
          - /users/newTfaKey

    Request is based for user that is authenticated making the request,
    and app-based two factor authentication has to be enabled for the
    account.

    :return: Returns dictionary with password reset barcode image \n
        * keyword **barcodeBase64Jpeg** (`str`): Base 64 encoded jpeg of
          barcode to scan
    :rtype: dict
    """
    return self._get("/users/newTfaKey")