1
0
mirror of https://github.com/XFox111/SimpleOTP.git synced 2026-04-22 08:00:45 +03:00
Files
SimpleOTP/libraries/SimpleOTP/OtpType.cs
T
xfox111 1b989e7b35 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
2024-09-26 03:20:30 +03:00

23 lines
509 B
C#

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
}