diff --git a/crates/ctap2-proto/src/authenticator/bio_enrollment/mod.rs b/crates/ctap2-proto/src/authenticator/bio_enrollment/mod.rs index 9e31eb1..47a7e51 100644 --- a/crates/ctap2-proto/src/authenticator/bio_enrollment/mod.rs +++ b/crates/ctap2-proto/src/authenticator/bio_enrollment/mod.rs @@ -1,3 +1,5 @@ pub enum Request {} pub enum Response {} + +pub enum Error {} diff --git a/crates/ctap2-proto/src/lib.rs b/crates/ctap2-proto/src/lib.rs index add93eb..d05f9ff 100644 --- a/crates/ctap2-proto/src/lib.rs +++ b/crates/ctap2-proto/src/lib.rs @@ -49,7 +49,9 @@ pub trait Ctap2_2Authenticator { /// > factory default state. fn reset() -> Result<(), reset::Error>; - fn bio_enrollment(request: bio_enrollment::Request, response: bio_enrollment::Response); + fn bio_enrollment( + request: bio_enrollment::Request, + ) -> Result; #[allow(clippy::missing_errors_doc)] /// > This command is used by the platform to manage discoverable