pub struct CodeAccuracyDescriptor {
pub base: u16,
pub min_length: u16,
pub max_retries: Option<u16>,
pub block_slowdown: Option<u16>,
}Expand description
The CodeAccuracyDescriptor describes the relevant accuracy/complexity aspects of passcode user verification methods.
Fields§
§base: u16⚠️ WARNING - Content of this value is not well documented to it’s intent or usage!
The numeric system base (radix) of the code, e.g. 10 in the case of decimal digits.
min_length: u16The minimum number of digits of the given base required for that code, e.g. 4 in the case of 4 digits.
max_retries: Option<u16>Maximum number of false attempts before the authenticator will block this method (at least for some time). 0 means it will never block.
block_slowdown: Option<u16>Enforced minimum number of seconds wait time after blocking (e.g. due to forced reboot or similar). 0 means this user verification method will be blocked, either permanently or until an alternative user verification method method succeeded. All alternative user verification methods must be specified appropriately in the Metadata in userVerificationDetails.
Trait Implementations§
Source§impl Clone for CodeAccuracyDescriptor
impl Clone for CodeAccuracyDescriptor
Source§fn clone(&self) -> CodeAccuracyDescriptor
fn clone(&self) -> CodeAccuracyDescriptor
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more