Namespace Yort.Otp
Classes
CounterBasedPasswordGenerator
A onetime password generator based on a counter that increments on each successful login.
MD5HashAlgorithm
The MD5 hash algorithm wrapped in the IHashAlgorithm interface so it can be used across .Net frameworks.
OnetimePasswordAccount
Represents details of an account protected by OTP, and an associated OTP generator.
OnetimePasswordGeneratorBase
Base cass used for onetime password generators, provides re-use as well as a "versionable" common interface.
OnetimePasswordGeneratorFactory
Factory that makes instantiating and configuring onetime password generators more concise. Also provides methods for creating password generators from otp urls, and generating new urls.
OnetimePasswordSecret
A static class containing utility methods useful for converting onetime password secrets to and from various formats.
Resource
Resource.Attribute
Resource.String
Sha1HashAlgorithm
The SHA1 hash algorithm wrapped in the IHashAlgorithm interface so it can be used across .Net frameworks.
Sha256HashAlgorithm
The SHA256 hash algorithm wrapped in the IHashAlgorithm interface so it can be used across .Net frameworks.
Sha512HashAlgorithm
The SHA512 hash algorithm wrapped in the IHashAlgorithm interface so it can be used across .Net frameworks.
TimeBasedPasswordGenerator
Used to generate passwords based on a specific time, using the
Interfaces
IHashAlgorithm
Portable/cross framework interface for hash algorithms to be used with this library.
IOnetimePasswordGenerator
Common interface for classes that can generate second authentication factor passwords.