Enum webauthn_rs::proto::AuthenticatorAttachment [−][src]
pub enum AuthenticatorAttachment {
Platform,
CrossPlatform,
}
Expand description
The authenticator attachment hint. This is NOT enforced, and is only used to help a user select a relevant authenticator type.
Variants
Request a device that is part of the machine aka inseperable. https://www.w3.org/TR/webauthn/#attachment
Request a device that can be seperated from the machine aka an external token. https://www.w3.org/TR/webauthn/#attachment
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for AuthenticatorAttachment
impl Send for AuthenticatorAttachment
impl Sync for AuthenticatorAttachment
impl Unpin for AuthenticatorAttachment
impl UnwindSafe for AuthenticatorAttachment
Blanket Implementations
Mutably borrows from an owned value. Read more