Function miniotp::simple::read_hotp_gauth [−][src]
pub fn read_hotp_gauth<Val, Secret>(
input: Val,
secret: Secret,
counter: u64
) -> Result<(), OTPErr> where
Val: AsRef<str>,
Secret: Array,
Reads a google authenticator-compatible HOTP with a secret
v2.x.x: Made return value a Result<()>
instead of Result<bool>
.