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:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user