setupTOTP abstract method

Future<(String, Uri?)> setupTOTP({
  1. String? appName,
})

Setup Time-based One Time Password MFA for the logged in user

returns the secret to be used by a token generator app like Google Authenticate app and the URI for setting up an authenticator app

Implementation

Future<(String, Uri?)> setupTOTP({String? appName});