Skip to content

Feature-rich and flexible .NET library for implementation of OTP authenticators and validatiors.

License

Notifications You must be signed in to change notification settings

XFox111/SimpleOTP

Repository files navigation

GitHub release (latest by date) GitHub last commit

SimpleOTP

Feature-rich and flexible .NET library for implementation of OTP authenticators and validatiors.

Features

  • 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!

Download

Package Info Download
EugeneFox.SimpleOTP Nuget / Nuget NuGet Gallery / GitHub NuGet Registry
EugeneFox.SimpleOTP.DependencyInjection Nuget / Nuget 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

Usage, examples and docs

Please refer to project's Wiki for usage examples, API reference and other documentation.

Contributing

GitHub issues CI GitHub repo size

There are many ways in which you can participate in the project, for example:

If you are interested in fixing issues and contributing directly to the code base, please refer to the Contribution Guidelines


Twitter Follow GitHub followers Buy Me a Coffee

©2024 Eugene Fox. Licensed under MIT license