Creates a Time-Based One Time Password.
async totp.createPassword(): Promise<void>
This method creates a Time-Based One Time Password.
The following properties are applicable when calling CreatePassword.
Calling CreatePassword populates the Password property with the created password.
If Secret is not specified before calling this method a random secret will be automatically generated.