diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-05-22 21:41:30 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2018-05-22 23:42:18 +0200 |
commit | 2ec913fdcadef73281ec30f96c0fc7cd00a4ed26 (patch) | |
tree | fa70814910ced501f6b63030cc783127b928898e /src/otp.rs | |
parent | 105dcead4890bee529f4ae9833892cdd1a4f8014 (diff) | |
download | nitrokey-rs-2ec913fdcadef73281ec30f96c0fc7cd00a4ed26.tar.gz nitrokey-rs-2ec913fdcadef73281ec30f96c0fc7cd00a4ed26.tar.bz2 |
Move the authenticate methods to a new Authenticate trait
Diffstat (limited to 'src/otp.rs')
-rw-r--r-- | src/otp.rs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -25,7 +25,7 @@ pub trait ConfigureOtp { /// # Example /// /// ```no_run - /// use nitrokey::{CommandStatus, ConfigureOtp, OtpMode, OtpSlotData}; + /// use nitrokey::{Authenticate, CommandStatus, ConfigureOtp, OtpMode, OtpSlotData}; /// # use nitrokey::CommandError; /// /// # fn try_main() -> Result<(), (CommandError)> { @@ -61,7 +61,7 @@ pub trait ConfigureOtp { /// # Example /// /// ```no_run - /// use nitrokey::{CommandStatus, ConfigureOtp, OtpMode, OtpSlotData}; + /// use nitrokey::{Authenticate, CommandStatus, ConfigureOtp, OtpMode, OtpSlotData}; /// # use nitrokey::CommandError; /// /// # fn try_main() -> Result<(), (CommandError)> { @@ -94,7 +94,7 @@ pub trait ConfigureOtp { /// # Example /// /// ```no_run - /// use nitrokey::{CommandStatus, ConfigureOtp}; + /// use nitrokey::{Authenticate, CommandStatus, ConfigureOtp}; /// # use nitrokey::CommandError; /// /// # fn try_main() -> Result<(), (CommandError)> { @@ -124,7 +124,7 @@ pub trait ConfigureOtp { /// # Example /// /// ```no_run - /// use nitrokey::{CommandStatus, ConfigureOtp}; + /// use nitrokey::{Authenticate, CommandStatus, ConfigureOtp}; /// # use nitrokey::CommandError; /// /// # fn try_main() -> Result<(), (CommandError)> { |