pub enum AuthenticatorTransport {
Usb,
Nfc,
Ble,
Hybrid,
Internal,
}Expand description
Authenticators may implement various transports for communicating with clients. This enumeration
defines hints as to how clients might communicate with a particular authenticator in order to
obtain an assertion for a specific credential. Note that these hints represent the Relying Party’s
best belief as to how an authenticator may be reached. A Relying Party will typically learn of
the supported transports for a PublicKeyCredential via AuthenticatorAttestationResponse::transports.
Variants§
Usb
Indicates the respective authenticator can be contacted over removable USB.
Nfc
Indicates the respective authenticator can be contacted over Near Field Communication (NFC).
Ble
Indicates the respective authenticator can be contacted over Bluetooth Smart (Bluetooth Low Energy / BLE).
Hybrid
Indicates the respective authenticator can be contacted using a combination of (often separate) data-transport and proximity mechanisms. This supports, for example, authentication on a desktop computer using a smartphone.
Internal
Indicates the respective authenticator is contacted using a client device-specific transport, i.e. it is a platform authenticator. These authenticators are not removable from the client device.
Trait Implementations§
Source§impl Clone for AuthenticatorTransport
impl Clone for AuthenticatorTransport
Source§fn clone(&self) -> AuthenticatorTransport
fn clone(&self) -> AuthenticatorTransport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AuthenticatorTransport
impl Debug for AuthenticatorTransport
Source§impl<'de> Deserialize<'de> for AuthenticatorTransport
impl<'de> Deserialize<'de> for AuthenticatorTransport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for AuthenticatorTransport
impl PartialEq for AuthenticatorTransport
Source§impl Serialize for AuthenticatorTransport
impl Serialize for AuthenticatorTransport
impl Copy for AuthenticatorTransport
impl Eq for AuthenticatorTransport
impl StructuralPartialEq for AuthenticatorTransport
Auto Trait Implementations§
impl Freeze for AuthenticatorTransport
impl RefUnwindSafe for AuthenticatorTransport
impl Send for AuthenticatorTransport
impl Sync for AuthenticatorTransport
impl Unpin for AuthenticatorTransport
impl UnwindSafe for AuthenticatorTransport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.