pub enum AuthenticatorAttachment {
Platform,
CrossPlatform,
}Expand description
Whether the authenticator is built into the device or a separate one.
As a registration option it restricts what the client offers. Reported back on a credential it says what was actually used, but that value comes from the client and is not signed, so treat it as a hint, not as authorization.
Variants§
Platform
An authenticator built into the client device (e.g. Touch ID, Windows Hello).
CrossPlatform
A roaming authenticator, such as a security key or a phone used over hybrid transport.
Trait Implementations§
Source§impl Clone for AuthenticatorAttachment
impl Clone for AuthenticatorAttachment
Source§fn clone(&self) -> AuthenticatorAttachment
fn clone(&self) -> AuthenticatorAttachment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AuthenticatorAttachment
Source§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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AuthenticatorAttachment
impl PartialEq for AuthenticatorAttachment
Source§impl Serialize for AuthenticatorAttachment
impl Serialize 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 UnsafeUnpin 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
Mutably borrows from an owned value. Read more