pub struct AddVirtualAuthenticatorCommand { /* private fields */ }Available on crate features
experimental and WebAuthn only.Expand description
Creates and adds a virtual authenticator.
Implementations§
Source§impl AddVirtualAuthenticatorCommand
impl AddVirtualAuthenticatorCommand
pub fn new(options: VirtualAuthenticatorOptions) -> Self
pub fn options(&self) -> &VirtualAuthenticatorOptions
Methods from Deref<Target = VirtualAuthenticatorOptions>§
pub fn protocol(&self) -> &AuthenticatorProtocol
Sourcepub fn ctap2_version(&self) -> Option<&Ctap2Version>
pub fn ctap2_version(&self) -> Option<&Ctap2Version>
Defaults to ctap2_0. Ignored if |protocol| == u2f.
pub fn transport(&self) -> &AuthenticatorTransport
Sourcepub fn has_resident_key(&self) -> Option<&bool>
pub fn has_resident_key(&self) -> Option<&bool>
Defaults to false.
Sourcepub fn has_user_verification(&self) -> Option<&bool>
pub fn has_user_verification(&self) -> Option<&bool>
Defaults to false.
Sourcepub fn has_large_blob(&self) -> Option<&bool>
pub fn has_large_blob(&self) -> Option<&bool>
If set to true, the authenticator will support the largeBlob extension. https://w3c.github.io/webauthn#largeBlob Defaults to false.
Sourcepub fn automatic_presence_simulation(&self) -> Option<&bool>
pub fn automatic_presence_simulation(&self) -> Option<&bool>
If set to true, tests of user presence will succeed immediately. Otherwise, they will not be resolved. Defaults to true.
Sourcepub fn is_user_verified(&self) -> Option<&bool>
pub fn is_user_verified(&self) -> Option<&bool>
Sets whether User Verification succeeds or fails for an authenticator. Defaults to false.
Trait Implementations§
Source§impl Clone for AddVirtualAuthenticatorCommand
impl Clone for AddVirtualAuthenticatorCommand
Source§fn clone(&self) -> AddVirtualAuthenticatorCommand
fn clone(&self) -> AddVirtualAuthenticatorCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for AddVirtualAuthenticatorCommand
impl<'de> Deserialize<'de> for AddVirtualAuthenticatorCommand
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
Auto Trait Implementations§
impl Freeze for AddVirtualAuthenticatorCommand
impl RefUnwindSafe for AddVirtualAuthenticatorCommand
impl Send for AddVirtualAuthenticatorCommand
impl Sync for AddVirtualAuthenticatorCommand
impl Unpin for AddVirtualAuthenticatorCommand
impl UnwindSafe for AddVirtualAuthenticatorCommand
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