confirmTotp abstract method

Future<bool> confirmTotp(
  1. String userId,
  2. int step
)

Marks the pending enrollment confirmed and spends step, if it is still pending. Returns whether it was.

Implementation

Future<bool> confirmTotp(String userId, int step);