CrossmintWalletController.otp. When the signer flow requests
authentication, the controller populates pendingChallenge and exposes
sendOtp / verifyOtp / reject to drive it. UI code observes
challengeListenable to show a prompt.
Properties
needsAuth
true when an OTP challenge is outstanding.
pendingChallenge
null when no OTP is pending.
challengeListenable
Methods
onAuthRequired
sendOtp
CrossmintSignerException when no challenge is pending.
verifyOtp
CrossmintSignerException when no challenge is pending.
reject
error (if any) to the signer request that raised the challenge.
clear
verifyOtp or reject to resolve a challenge cleanly.
dispose
ValueNotifier. Called automatically when the parent CrossmintWalletController is disposed.
