Enum webauthn_rs::proto::CredentialProtectionPolicy [−][src]
#[repr(u8)]
pub enum CredentialProtectionPolicy {
UserVerificationOptional,
UserVerificationOptionalWithCredentialIDList,
UserVerificationRequired,
}
Expand description
Valid credential protection policies
Variants
This reflects “FIDO_2_0” semantics. In this configuration, performing some form of user verification is optional with or without credentialID list. This is the default state of the credential if the extension is not specified.
In this configuration, credential is discovered only when its credentialID is provided by the platform or when some form of user verification is performed.
This reflects that discovery and usage of the credential MUST be preceded by some form of user verification.
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for CredentialProtectionPolicy
impl Send for CredentialProtectionPolicy
impl Sync for CredentialProtectionPolicy
impl Unpin for CredentialProtectionPolicy
impl UnwindSafe for CredentialProtectionPolicy
Blanket Implementations
Mutably borrows from an owned value. Read more