CkOtpFlowManager constructor

CkOtpFlowManager({
  1. required CkOtpConfig config,
  2. required CkAuthExtractors extractors,
  3. String? sendUrl,
  4. String? verifyUrl,
  5. String? verifyForgetUrl,
  6. RequestMethod sendMethod = RequestMethod.POST,
  7. RequestMethod verifyMethod = RequestMethod.POST,
  8. RequestMethod verifyForgotMethod = RequestMethod.POST,
})

Implementation

CkOtpFlowManager({
  required this._config,
  required this._extractors,
  this._sendUrl,
  this._verifyUrl,
  this._verifyForgetUrl,
  this._sendMethod = RequestMethod.POST,
  this._verifyMethod = RequestMethod.POST,
  this._verifyForgotMethod = RequestMethod.POST,
}) {
  resendCountdown = CkBehaviorStream(initialValue: 0);
}