Google Authenticator TOTP C#

  •        1083

An implementation of Google's Authenticator in C# and WPF. It's a Time-based One-time Password (TOTP) described in RFC 6238. You could use it to implement two-factor authentication in your own .Net application.



Related Projects

privacyIDEA - Modular Authentication System

privacyIDEA is a Two Factor Authentication System which is multi-tenency- and multi-instance-capable. Using privacyIDEA you can enhance your existing applications like local login, VPN, remote access, SSH connections, access to web sites or web portals with a second factor during authentication.

otp - TOTP library for Go

One Time Passwords (OTPs) are an mechanism to improve security over passwords alone. When a Time-based OTP (TOTP) is stored on a user's phone, and combined with something the user knows (Password), you have an easy on-ramp to Multi-factor authentication without adding a dependency on a SMS provider. This Password and TOTP combination is used by many popular websites including Google, Github, Facebook, Salesforce and many others. The otp library enables you to easily add TOTPs to your own application, increasing your user's security against mass-password breaches and malware.

Google Authenticator - Two factor authentication

The Google Authenticator project includes implementations of one-time passcode generators for several mobile platforms, as well as a pluggable authentication module (PAM). One-time passcodes are generated using open standards developed by the Initiative for Open Authentication (OATH). These implementations support the HMAC-Based One-time Password (HOTP) algorithm specified in RFC 4226 and the Time-based One-time Password (TOTP) algorithm specified in RFC 6238.

FreeOTP - Two factor authentication

FreeOTP is a two-factor authentication application for systems utilizing one-time password protocols. Tokens can be added easily by scanning a QR code. If you need to generate a QR code, try our QR code generator.

Altairis OTP Authentication Library

Tools for implementing one time password authentication in .NET systems. Supports time-based (TOTP) or event-based (HOTP) passwords and is compatible with Google Authenticator technology.

GoogleAuth - Google Authenticator Server side code

GoogleAuth is a Java server library that implements the Time-based One-time Password (TOTP) algorithm specified in RFC 6238. This library can be used by any developer who wants to add TOTP multi-factor authentication to a Java application and needs the server-side code to create TOTP shared secrets and verify TOTP passwords.

otphp - :closed_lock_with_key: A PHP library for generating one time passwords according to RFC 4226 (HOTP) and the RFC 6238 (TOTP)

This library is compatible with Google Authenticator apps available for Android and iPhone. It is also compatible with other applications such as FreeOTP for example.The release process is described here.

django-two-factor-auth - Complete Two-Factor Authentication for Django providing the easiest integration into most Django projects

Complete Two-Factor Authentication for Django. Built on top of the one-time password framework django-otp and Django's built-in authentication framework django.contrib.auth for providing the easiest integration into most Django projects. Inspired by the user experience of Google's Two-Step Authentication, allowing users to authenticate through call, text messages (SMS), by using a token generator app like Google Authenticator or a YubiKey hardware token generator (optional). I would love to hear your feedback on this package. If you run into problems, please file an issue on GitHub, or contribute to the project by forking the repository and sending some pull requests. The package is translated into English, Dutch and other languages. Please contribute your own language using Transifex.


gmail-otp consists of simple scripts to allow usage of one-time-pad (single-use) passwords for the authentication with the gmail (google mail) web-interface. It needs a trusted webserver to run the scripts.

notp - Node One Time Password library, supports HOTP, TOTP and works with Google Authenticator

Simple to use, fast, and with zero dependencies. The Node One Time Password library is fully compliant with HOTP (counter based one time passwords) and TOTP (time based one time passwords). It can be used in conjunction with the Google Authenticator which has free apps for iOS, Android and BlackBerry. Google authenticator requires that keys be base32 encoded before being used. This includes manual entry into the app as well as preparing a QR code URI.

multiOTP - PHP class for OAUTH

multiOTP is a PHP class and a powerful command line utility OATH certified to provide a completely free and easy operating system independent server side implementation for strong two factors authentication solution.


Mobile-OTP is a free strong authentication solution for java capable mobile devices like phones or PDAs. The solution is based on time synchronous one time passwords.

bell - Third-party login plugin for hapi

Third-party authentication plugin for hapi.bell ships with built-in support for authentication using Facebook, GitHub, Google, Google Plus, Instagram, LinkedIn, Slack, Stripe, Twitter, Yahoo, Foursquare, VK, ArcGIS Online, Windows Live, Nest, Phabricator, BitBucket, Dropbox, Reddit, Tumblr, Twitch, Mixer, Salesforce, Pinterest, Discord, DigitalOcean, AzureAD, and Okta. It also supports any compliant OAuth 1.0a and OAuth 2.0 based login services with a simple configuration object.

the-little-elixir-otp-guidebook-code - Code examples for The Little Elixir & OTP Guidebook

Welcome! This is the source code for "The Little Elixir & OTP Guidebook". These larger programs will contain their own READMEs and more detailed instructions on running the program.

oauth2_proxy - A reverse proxy that provides authentication with Google, Github or other provider

A reverse proxy and static file server that provides authentication using Providers (Google, GitHub, and others) to validate accounts by email, domain or group. You will need to register an OAuth application with a Provider (Google, GitHub or another provider), and configure it with Redirect URI(s) for the domain you intend to run oauth2_proxy on.


AMAS stands for Ants Mobile Authentication System and it permits to use one time passwords (OTP) to authenticate users and user groups. The user asks for tokens using a cellular phone call, an SMS, or a SOAP interface.

gen_smtp - A generic Erlang SMTP server and client that can be extended via callback modules

Provide a generic Erlang SMTP server framework that can be extended via callback modules in the OTP style. A pure Erlang SMTP client is also included. The goal is to make it easy to send and receive email in Erlang without the hassle of POP/IMAP. This is not a complete mailserver - although it includes most of the parts you'd need to build one. The SMTP server/client supports PLAIN, LOGIN, CRAM-MD5 authentication as well as STARTTLS and SSL (port 465).

rotp - Ruby One Time Password library

A ruby library for generating one time passwords (HOTP & TOTP) according to RFC 4226 and RFC 6238. ROTP is compatible with the Google Authenticator available for Android and iPhone.

devise_google_authenticator - A Devise extension to allow your app to utilise Google's 2FA Mobile app

This is a devise extension to allow your app to utilise Google Authenticator for Time-based One Time Passwords (TOTP).