Struct chrome_remote_interface_model::web_authn::VirtualAuthenticatorOptionsBuilder[][src]

pub struct VirtualAuthenticatorOptionsBuilder { /* fields omitted */ }
This is supported on crate features experimental and WebAuthn only.

Implementations

impl VirtualAuthenticatorOptionsBuilder[src]

pub fn protocol(&mut self, v: AuthenticatorProtocol) -> &mut Self[src]

pub fn ctap2_version(&mut self, v: Ctap2Version) -> &mut Self[src]

Defaults to ctap2_0. Ignored if |protocol| == u2f.

pub fn transport(&mut self, v: AuthenticatorTransport) -> &mut Self[src]

pub fn has_resident_key(&mut self, v: bool) -> &mut Self[src]

Defaults to false.

pub fn has_user_verification(&mut self, v: bool) -> &mut Self[src]

Defaults to false.

pub fn has_large_blob(&mut self, v: bool) -> &mut Self[src]

If set to true, the authenticator will support the largeBlob extension. https://w3c.github.io/webauthn#largeBlob Defaults to false.

pub fn automatic_presence_simulation(&mut self, v: bool) -> &mut Self[src]

If set to true, tests of user presence will succeed immediately. Otherwise, they will not be resolved. Defaults to true.

pub fn is_user_verified(&mut self, v: bool) -> &mut Self[src]

Sets whether User Verification succeeds or fails for an authenticator. Defaults to false.

pub fn build(&mut self) -> Result<VirtualAuthenticatorOptions, &'static str>[src]

Trait Implementations

impl Clone for VirtualAuthenticatorOptionsBuilder[src]

impl Debug for VirtualAuthenticatorOptionsBuilder[src]

impl Default for VirtualAuthenticatorOptionsBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.