1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Transport layer that carries CTAP messages to FIDO2/WebAuthn authenticators.
//! It abstracts over several physical media: HID (USB), BLE (Bluetooth Low
//! Energy), caBLE (the cable/hybrid mode), and NFC (available when the
//! `nfc-backend-pcsc` or `nfc-backend-libnfc` feature is enabled). The two core
//! abstractions are [`Channel`], an open session with an authenticator that
//! sends and receives CTAP messages, and [`Device`], a discovered authenticator
//! from which a [`Channel`] can be opened.
//!
//! Supporting pieces include the [`Transport`] trait that identifies a specific
//! transport implementation and the [`Ctap2AuthTokenStore`] trait for caching
//! PIN/UV authentication tokens across operations. Each medium provides its own
//! channel and device adapters suited to its protocol and hardware constraints.
pub
/// A mock channel that can be used in tests to
/// queue expected requests and responses in unittests
pub use ;
pub use ;
pub use ChannelStatus;
pub use Device;
pub use Transport;