ctap_types/
authenticator.rsuse crate::ctap1;
use crate::ctap2;
pub use ctap1::Authenticator as Ctap1Authenticator;
pub use ctap2::Authenticator as Ctap2Authenticator;
#[derive(Clone, Debug, PartialEq)]
#[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))]
#[allow(clippy::large_enum_variant)]
pub enum Request<'a> {
Ctap1(ctap1::Request<'a>),
Ctap2(ctap2::Request<'a>),
}
#[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 {}