#[non_exhaustive]pub struct AuthenticatorSelection {
pub authenticator_attachment: Option<AuthenticatorAttachment>,
pub resident_key: ResidentKeyRequirement,
pub user_verification: UserVerificationRequirement,
}Expand description
Constraints on which authenticators the browser may use for registration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.authenticator_attachment: Option<AuthenticatorAttachment>Restricts registration to platform or roaming authenticators. Omitted
from the challenge when None, which lets the client offer both.
resident_key: ResidentKeyRequirementResident key requirement.
user_verification: UserVerificationRequirementUser verification requirement.
Trait Implementations§
Source§impl Debug for AuthenticatorSelection
impl Debug for AuthenticatorSelection
Auto Trait Implementations§
impl Freeze for AuthenticatorSelection
impl RefUnwindSafe for AuthenticatorSelection
impl Send for AuthenticatorSelection
impl Sync for AuthenticatorSelection
impl Unpin for AuthenticatorSelection
impl UnsafeUnpin for AuthenticatorSelection
impl UnwindSafe for AuthenticatorSelection
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