pub enum AuthenticatorAttachment {
Platform,
CrossPlatform,
}Expand description
This enumeration’s values describe authenticators’ attachment modalities. Relying Parties use
this to express a preferred authenticator attachment modality when passing a
PublicKeyCredentialCreationOptions to create a credential, and clients use this to report the
authenticator attachment modality used to complete a registration or authentication ceremony.
https://w3c.github.io/webauthn/#enumdef-authenticatorattachment
Variants§
Platform
This value indicates platform attachment which is attached using a client device-specific transport, called platform attachment, and is usually not removable from the client device. A public key credential bound to a platform authenticator is called a platform credential.
CrossPlatform
This value indicates cross-platform attachment which is attached using cross-platform transports called cross-platform attachment. Authenticators of this class are removable from, and can “roam” between, client devices. A public key credential bound to a roaming authenticator is called a roaming credential.
Trait Implementations§
Source§impl Clone for AuthenticatorAttachment
impl Clone for AuthenticatorAttachment
Source§fn clone(&self) -> AuthenticatorAttachment
fn clone(&self) -> AuthenticatorAttachment
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AuthenticatorAttachment
impl Debug for AuthenticatorAttachment
Source§impl<'de> Deserialize<'de> for AuthenticatorAttachment
impl<'de> Deserialize<'de> for AuthenticatorAttachment
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 AuthenticatorAttachment
impl PartialEq for AuthenticatorAttachment
Source§impl Serialize for AuthenticatorAttachment
impl Serialize for AuthenticatorAttachment
impl Copy for AuthenticatorAttachment
impl Eq for AuthenticatorAttachment
impl StructuralPartialEq for AuthenticatorAttachment
Auto Trait Implementations§
impl Freeze for AuthenticatorAttachment
impl RefUnwindSafe for AuthenticatorAttachment
impl Send for AuthenticatorAttachment
impl Sync for AuthenticatorAttachment
impl Unpin for AuthenticatorAttachment
impl UnwindSafe for AuthenticatorAttachment
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.