pub type PhoneNumberVerifier = Arc<dyn Fn(&str, &str) -> Result<bool, RustAuthError> + Send + Sync + 'static>;Expand description
Synchronous OTP verifier callback.
Use this to delegate verification to an external OTP store or provider. The callback is sync-only in the current Rust API.
Aliased Typeยง
pub struct PhoneNumberVerifier { /* private fields */ }