CkOtpFlowManager constructor
CkOtpFlowManager({
- required CkOtpConfig config,
- required CkAuthExtractors extractors,
- String? sendUrl,
- String? verifyUrl,
- String? verifyForgetUrl,
- RequestMethod sendMethod = RequestMethod.POST,
- RequestMethod verifyMethod = RequestMethod.POST,
- 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);
}