Module tfa

Source
Expand description

§Two Factor Authentication

use geekorm::prelude::*;

let tfa = TwoFactorAuth::new();

let code = tfa.generate_current().unwrap();

let value: Value = tfa.into();

let totp2: TwoFactorAuth = value.into();

Structs§

TwoFactorAuth
Two Factor Authentication