Feature-rich and flexible .NET library for implementation of OTP authenticators and validatiors.
- Full support for Time-based OTP generation and validation (RFC 6238)
- Full support for HMAC-based OTP generation and validation (RFC 4226)
- Ability to create
otpauth:
confguration URIs with full compliance with Usage specification of the otpauth URI format for TOTP and HOTP token generators Internet-Draft by I. Y. Eroglu - Built-in
otpauth:
URI formatters to comply with different specifications (Apple, Google, IBM, and more) - Fluent API support
- Supplementary
DependencyInjection
package for easier implementation in ASP.NET - Continuous support of current and upcoming .NET versions
- And more!
Package | Info | Download |
---|---|---|
EugeneFox.SimpleOTP |
NuGet Gallery / GitHub NuGet Registry | |
EugeneFox.SimpleOTP.DependencyInjection |
NuGet Gallery / GitHub NuGet Registry |
Use these commands to install SimpleOTP package in your project:
# For common projects:
dotnet add package EugeneFox.SimpleOTP
# Or for ASP.NET projects:
dotnet add package EugeneFox.SimpleOTP.DependencyInjection
Please refer to project's Wiki for usage examples, API reference and other documentation.
There are many ways in which you can participate in the project, for example:
- Submit bugs and feature requests, and help us verify as they are checked in
- Review source code changes
- Review documentation and make pull requests for anything from typos to new content
If you are interested in fixing issues and contributing directly to the code base, please refer to the Contribution Guidelines
©2025 Eugene Fox. Licensed under MIT license