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

Created OTPFactory.OTPFactory (markdown)

2021-06-01 16:21:47 +03:00
parent cab8b83fad
commit 98e27e4cd0
+20
@@ -0,0 +1,20 @@
Namespace: `SimpleOTP`
Assembly: `SimpleOTP.dll`
Initializes a new instance of the `OTPFactory` class.
```csharp
public OTPFactory(OTPConfiguration configuration, int timerUpdateInterval = 1000);
```
### Parameters
`configuration` [OTPConfiguration]()
OTP configuration for codes producing.
`timeUpdateInterval` `Int32`
Interval for timer updates in milliseconds.<br/>
Default: 1000 milliseconds (1 second)
### Returns
[OTPFactory](https://github.com/XFox111/SimpleOTP/wiki/OTPFactory).