enrollment method

Map<String, dynamic> enrollment()

Enrollment response with an obvious test-only TOTP secret.

Implementation

Map<String, dynamic> enrollment() => <String, dynamic>{
  'secret': 'JBSWY3DPEHPK3PXP',
  'otpauthUri':
      'otpauth://totp/Fixture:fixture%40example.test?secret=JBSWY3DPEHPK3PXP&issuer=Fixture',
  'expiresAt': now.add(const Duration(minutes: 10)).toIso8601String(),
};