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

Major 2.0 (#20)

* New 2.0 version + DependencyInjection library

* Updated docs and repo settings (devcontainers, vscode, github, etc.)

* Added tests

* Fixed bugs

* Minor test project refactoring

* Updated projects
- Added symbol packages
- Updated package versions to pre-release

* Updated SECURITY.md

* Added GitHub Actions workflows
This commit is contained in:
2024-09-26 03:20:30 +03:00
committed by GitHub
parent 42f968171b
commit 1b989e7b35
87 changed files with 4076 additions and 2532 deletions
+22
View File
@@ -0,0 +1,22 @@
namespace SimpleOTP;
/// <summary>
/// Represents the type of One-Time Password (OTP).
/// </summary>
public enum OtpType
{
/// <summary>
/// Time-based One-Time Password (TOTP).
/// </summary>
/// <remarks>
/// <a href="https://tools.ietf.org/html/rfc6238">RFC 6238</a>
/// </remarks>
Totp = 0,
/// <summary>
/// HMAC-based One-Time Password (HOTP).
/// </summary>
/// <remarks>
/// <a href="https://tools.ietf.org/html/rfc4226">RFC 4226</a>
/// </remarks>
Hotp = 1
}