resetSecret method
(Optional) Reset secret — useful for testing or revocation.
Implementation
Future<void> resetSecret() async {
await _storage.delete(key: _secretKey);
_cachedSecret = null;
log('Debug Overlay TOTP secret reset.');
}
(Optional) Reset secret — useful for testing or revocation.
Future<void> resetSecret() async {
await _storage.delete(key: _secretKey);
_cachedSecret = null;
log('Debug Overlay TOTP secret reset.');
}