checkVerificationOtp method
Future<void>
checkVerificationOtp({
- required String email,
- required AuthEmailOtpType type,
- required String code,
- DateTime? now,
Verifies and consumes an OTP without creating a session.
Invalid, expired, and locked records throw AuthFlowException with the corresponding OTP error code.
Implementation
Future<void> checkVerificationOtp({
required String email,
required AuthEmailOtpType type,
required String code,
DateTime? now,
}) async {
await _verify(email: email, type: type, code: code, now: now);
}