pub struct AuthenticatorSelectionCriteria {
pub authenticator_attachment: Option<AuthenticatorAttachment>,
pub require_resident_key: Option<bool>,
pub resident_key: Option<ResidentKeyRequirement>,
pub user_verification: Option<UserVerificationRequirement>,
}
Expand description
AuthenticatorSelectionCriteria : Used by the Relying Party to specify their requirements for authenticator attributes. Fields use the deprecated "resident key" terminology to refer to client-side discoverable credentials to maintain backwards compatibility with WebAuthn Level 1.
Fields§
§authenticator_attachment: Option<AuthenticatorAttachment>
§require_resident_key: Option<bool>
§resident_key: Option<ResidentKeyRequirement>
§user_verification: Option<UserVerificationRequirement>
Implementations§
Source§impl AuthenticatorSelectionCriteria
impl AuthenticatorSelectionCriteria
Sourcepub fn new() -> AuthenticatorSelectionCriteria
pub fn new() -> AuthenticatorSelectionCriteria
Used by the Relying Party to specify their requirements for authenticator attributes. Fields use the deprecated "resident key" terminology to refer to client-side discoverable credentials to maintain backwards compatibility with WebAuthn Level 1.
Trait Implementations§
Source§impl Clone for AuthenticatorSelectionCriteria
impl Clone for AuthenticatorSelectionCriteria
Source§fn clone(&self) -> AuthenticatorSelectionCriteria
fn clone(&self) -> AuthenticatorSelectionCriteria
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for AuthenticatorSelectionCriteria
impl Default for AuthenticatorSelectionCriteria
Source§fn default() -> AuthenticatorSelectionCriteria
fn default() -> AuthenticatorSelectionCriteria
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticatorSelectionCriteria
impl<'de> Deserialize<'de> for AuthenticatorSelectionCriteria
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
Source§impl PartialEq for AuthenticatorSelectionCriteria
impl PartialEq for AuthenticatorSelectionCriteria
Source§fn eq(&self, other: &AuthenticatorSelectionCriteria) -> bool
fn eq(&self, other: &AuthenticatorSelectionCriteria) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AuthenticatorSelectionCriteria
Auto Trait Implementations§
impl Freeze for AuthenticatorSelectionCriteria
impl RefUnwindSafe for AuthenticatorSelectionCriteria
impl Send for AuthenticatorSelectionCriteria
impl Sync for AuthenticatorSelectionCriteria
impl Unpin for AuthenticatorSelectionCriteria
impl UnwindSafe for AuthenticatorSelectionCriteria
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