pub enum UserVerificationMethod {
None,
PresenceInternal,
PasscodeInternal(Option<CodeAccuracyDescriptor>),
PasscodeExternal(Option<CodeAccuracyDescriptor>),
FingerprintInternal(Option<BiometricAccuracyDescriptor>),
HandprintInternal(Option<BiometricAccuracyDescriptor>),
EyeprintInternal(Option<BiometricAccuracyDescriptor>),
VoiceprintInternal(Option<BiometricAccuracyDescriptor>),
FaceprintInternal(Option<BiometricAccuracyDescriptor>),
LocationInternal,
PatternInternal(Option<PatternAccuracyDescriptor>),
}Expand description
An identifier of a user verification method. Some methods may contain an internal descriptor which provides information about certification or details of the user verification method.
Variants§
None
No user verification is required
PresenceInternal
Physical interaction is required i.e. touching the device. The identity of whom touched the device is NOT asserted, only that someone touched it.
PasscodeInternal(Option<CodeAccuracyDescriptor>)
A passcode was entered internally to the device, i.e. a self contained PIN entry pad embedded into the device.
PasscodeExternal(Option<CodeAccuracyDescriptor>)
A password was supplied to the device from an external source, i.e. a PIN entry dialog in a browser, that then supplied the PIN to the device.
FingerprintInternal(Option<BiometricAccuracyDescriptor>)
A fingerprint reader that is built into the device.
HandprintInternal(Option<BiometricAccuracyDescriptor>)
A Handprint reader that is built into the device.
EyeprintInternal(Option<BiometricAccuracyDescriptor>)
A Handprint reader that is built into the device.
VoiceprintInternal(Option<BiometricAccuracyDescriptor>)
A Voiceprint reader that is built into the device.
FaceprintInternal(Option<BiometricAccuracyDescriptor>)
A Faceprint reader that is built into the device.
LocationInternal
Unknown - No definition is available.
PatternInternal(Option<PatternAccuracyDescriptor>)
A pattern was entered internally to the device, i.e. a 3x3 grid of dots on a display that the user traces over on a touch screen.
Trait Implementations§
Source§impl Clone for UserVerificationMethod
impl Clone for UserVerificationMethod
Source§fn clone(&self) -> UserVerificationMethod
fn clone(&self) -> UserVerificationMethod
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UserVerificationMethod
impl Debug for UserVerificationMethod
Source§impl Display for UserVerificationMethod
impl Display for UserVerificationMethod
Source§impl FromStr for UserVerificationMethod
impl FromStr for UserVerificationMethod
Source§impl Hash for UserVerificationMethod
impl Hash for UserVerificationMethod
Source§impl PartialEq for UserVerificationMethod
impl PartialEq for UserVerificationMethod
Source§fn eq(&self, other: &UserVerificationMethod) -> bool
fn eq(&self, other: &UserVerificationMethod) -> bool
self and other values to be equal, and is used by ==.