Blocks
PasskeyVerifyBlock
Used to verify a passkey during login.
The goal of this block is to verify a passkey during the login process. The corresponding screen will be shown when a user has a passkey available and needs to verify it.
Available block data
Stores passkey verification details like primaryLoading
.
Available block methods
verifyPasskey() async
: Verifies the passkey for authentication.
Implementation Steps
1
Create Passkey Verify Screen
Create a new screen that implements the PasskeyVerifyBlock
interface. This screen will handle the passkey verification process.
lib/screens/passkey_verify.dart
2
Add Verification Button
Implement a button to trigger the passkey verification process.
For a complete implementation example, see the PasskeyVerifyScreen implementation on GitHub.