EugeneFox.SimpleOTP 8.0.0

Prefix Reserved
dotnet add package EugeneFox.SimpleOTP --version 8.0.0                
NuGet\Install-Package EugeneFox.SimpleOTP -Version 8.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EugeneFox.SimpleOTP" Version="8.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EugeneFox.SimpleOTP --version 8.0.0                
#r "nuget: EugeneFox.SimpleOTP, 8.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EugeneFox.SimpleOTP as a Cake Addin
#addin nuget:?package=EugeneFox.SimpleOTP&version=8.0.0

// Install EugeneFox.SimpleOTP as a Cake Tool
#tool nuget:?package=EugeneFox.SimpleOTP&version=8.0.0                

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

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on EugeneFox.SimpleOTP:

Package Downloads
EugeneFox.SimpleOTP.DependencyInjection

Dependency Injection implementation for SimpleOTP library. Allows to use SimpleOTP as DI service in your application.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.0 37 9/26/2024

(BREAKING CHANGE) Complete overhaul of the library. See https://github.com/XFox111/SimpleOTP/releases/tag/2.0.0 for more details.