use crate::ctap1;
use crate::ctap2;
pub use ctap1::Authenticator as Ctap1Authenticator;
pub use ctap2::Authenticator as Ctap2Authenticator;
#[derive(Clone, Debug, PartialEq)]
#[allow(clippy::large_enum_variant)]
pub enum Request {
Ctap1(ctap1::Request),
Ctap2(ctap2::Request),
}
#[derive(Clone, Debug, PartialEq)]
#[allow(clippy::large_enum_variant)]
pub enum Response {
Ctap1(ctap1::Response),
Ctap2(ctap2::Response),
}
pub trait Authenticator: ctap1::Authenticator + ctap2::Authenticator {
}
impl<A: ctap1::Authenticator + ctap2::Authenticator> Authenticator for A {}