Function miniotp::simple::read_totp_gauth[][src]

pub fn read_totp_gauth<Val, Secret>(
    input: Val,
    secret: Secret
) -> Result<(), OTPErr> where
    Val: AsRef<str>,
    Secret: Array

Reads a google authenticator-compatible TOTP with a secret

v2.x.x: Made return value a Result<()> instead of Result<bool>.