You can now use a TOTP client (ie Google Authenticator, authy) to generate the 2nd factor code.
When setting up a user, set the the authenticationdelivery=3 and then use SETUP_LOGON_GENERATE_TOKEN to generate the token to set up the TOTP client ie qrcode image or manual entry key.
Then as part of the authentication (LOGON) process add the TOTP client generated code to the passwordhash and set passwordcode= to the same code.