Struct webauthn_rs::proto::AuthenticatorSelectionCriteria [−][src]
pub struct AuthenticatorSelectionCriteria {
pub authenticator_attachment: Option<AuthenticatorAttachment>,
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
require_resident_key: bool
Hint 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: UserVerificationPolicy
The 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
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
Auto Trait Implementations
impl Send for AuthenticatorSelectionCriteria
impl Sync for AuthenticatorSelectionCriteria
impl Unpin for AuthenticatorSelectionCriteria
impl UnwindSafe for AuthenticatorSelectionCriteria
Blanket Implementations
Mutably borrows from an owned value. Read more