pub struct VirtualAuthenticatorOptions {Show 16 fields
pub protocol: AuthenticatorProtocol,
pub ctap2_version: Option<Ctap2Version>,
pub transport: AuthenticatorTransport,
pub has_resident_key: Option<bool>,
pub has_user_verification: Option<bool>,
pub has_large_blob: Option<bool>,
pub has_cred_blob: Option<bool>,
pub has_min_pin_length: Option<bool>,
pub has_prf: Option<bool>,
pub has_hmac_secret: Option<bool>,
pub has_hmac_secret_mc: Option<bool>,
pub has_cmtg_key: Option<bool>,
pub automatic_presence_simulation: Option<bool>,
pub is_user_verified: Option<bool>,
pub default_backup_eligibility: Option<bool>,
pub default_backup_state: Option<bool>,
}Fields§
§protocol: AuthenticatorProtocol§ctap2_version: Option<Ctap2Version>Defaults to ctap2_0. Ignored if |protocol| == u2f.
transport: AuthenticatorTransport§has_resident_key: Option<bool>Defaults to false.
has_user_verification: Option<bool>Defaults to false.
has_large_blob: Option<bool>If set to true, the authenticator will support the largeBlob extension. https://w3c.github.io/webauthn#largeBlob Defaults to false.
has_cred_blob: Option<bool>If set to true, the authenticator will support the credBlob extension. https://fidoalliance.org/specs/fido-v2.1-rd-20201208/fido-client-to-authenticator-protocol-v2.1-rd-20201208.html#sctn-credBlob-extension Defaults to false.
has_min_pin_length: Option<bool>If set to true, the authenticator will support the minPinLength extension. https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-minpinlength-extension Defaults to false.
has_prf: Option<bool>If set to true, the authenticator will support the prf extension. https://w3c.github.io/webauthn/#prf-extension Defaults to false.
has_hmac_secret: Option<bool>If set to true, the authenticator will support the hmac-secret extension. https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-hmac-secret-extension Defaults to false.
has_hmac_secret_mc: Option<bool>If set to true, the authenticator will support the hmac-secret-mc extension. https://fidoalliance.org/specs/fido-v2.2-rd-20241003/fido-client-to-authenticator-protocol-v2.2-rd-20241003.html#sctn-hmac-secret-make-cred-extension Defaults to false.
has_cmtg_key: Option<bool>If set to true, the authenticator will support the cmtgKey (Credential Manager Trust Group Key) extension. https://github.com/w3c/webauthn/pull/2377 Defaults to false.
automatic_presence_simulation: Option<bool>If set to true, tests of user presence will succeed immediately. Otherwise, they will not be resolved. Defaults to true.
is_user_verified: Option<bool>Sets whether User Verification succeeds or fails for an authenticator. Defaults to false.
default_backup_eligibility: Option<bool>Credentials created by this authenticator will have the backup eligibility (BE) flag set to this value. Defaults to false. https://w3c.github.io/webauthn/#sctn-credential-backup
default_backup_state: Option<bool>Credentials created by this authenticator will have the backup state (BS) flag set to this value. Defaults to false. https://w3c.github.io/webauthn/#sctn-credential-backup