pub struct AuthenticatorSelectionCriteria {
pub authenticator_attachment: Option<AuthenticatorAttachment>,
pub resident_key: Option<ResidentKeyRequirement>,
pub require_resident_key: bool,
pub user_verification: UserVerificationPolicy,
}Expand description
Fields§
§authenticator_attachment: Option<AuthenticatorAttachment>How the authenticator should be attached to the client machine. Note this is only a hint. It is not enforced in anyway shape or form. https://www.w3.org/TR/webauthn/#attachment
resident_key: Option<ResidentKeyRequirement>Hint to the credential to create a resident key. Note this value should be a member of ResidentKeyRequirement, but client must ignore unknown values, treating an unknown value as if the member does not exist. https://www.w3.org/TR/webauthn-2/#dom-authenticatorselectioncriteria-residentkey
require_resident_key: boolHint to the credential to create a resident key. Note this can not be enforced or validated, so the authenticator may choose to ignore this parameter. https://www.w3.org/TR/webauthn/#resident-credential
user_verification: UserVerificationPolicyThe user verification level to request during registration. Depending on if this authenticator provides verification may affect future interactions as this is associated to the credential during registration.
Trait Implementations§
Source§impl Clone for AuthenticatorSelectionCriteria
impl Clone for AuthenticatorSelectionCriteria
Source§fn clone(&self) -> AuthenticatorSelectionCriteria
fn clone(&self) -> AuthenticatorSelectionCriteria
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more