1
0
mirror of https://github.com/XFox111/SimpleOTP.git synced 2026-04-23 08:08:40 +03:00

Updated OTPService.GenerateCode (markdown)

2021-06-01 15:13:57 +03:00
parent d2bdcedc9d
commit 21a09b9f66
+1 -1
@@ -33,7 +33,7 @@ If OTP algorithm is HOTP, `target` counter is increased by 1.
--- ---
## GenerateCode(ref OTPConfiguration, DateTime) ## GenerateCode(ref OTPConfiguration, DateTime)
Generates a new OTP code with provided configuration. Generates a new TOTP code with provided configuration and for specific interval.
```csharp ```csharp
public static OTPCode GenerateCode(ref OTPConfiguration target, DateTime date); public static OTPCode GenerateCode(ref OTPConfiguration target, DateTime date);
``` ```