mirror of
https://github.com/XFox111/SimpleOTP.git
synced 2026-04-23 08:08:40 +03:00
Updated OTPService.GenerateCode (markdown)
@@ -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);
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user