Totp custom authentication

Hi Team,

I looking for a simple feature TOTP authentication, where I can able to generate a code(I will send my own custom email to the user with the generated code), and after a successful generation then I could able to validate it.is there any feature available? and could you please let me know what is the time to live for the generated code?

Thanks,
Tarun

@Tarun There is the ability to use Custom TOTP factors, as described here. Is this similar to what you are trying to do?