• Home
  • API Documentation
Show / Hide Table of Contents
  • Yort.Otp
    • CounterBasedPasswordGenerator
      • Counter
      • CounterBasedPasswordGenerator
    • IHashAlgorithm
      • ComputeHash
      • Name
    • IOnetimePasswordGenerator
      • GeneratedPassword
      • HashAlgorithm
      • PasswordLength
      • SetSecret
    • MD5HashAlgorithm
      • ComputeHash
      • Name
    • OnetimePasswordAccount
      • Issuer
      • Label
      • Metadata
      • PasswordGenerator
      • Secret
    • OnetimePasswordGeneratorBase
      • Dispose
      • GeneratedPassword
      • HashAlgorithm
      • IsDisposed
      • MovingFactor
      • OnetimePasswordGeneratorBase
      • PasswordLength
      • SetSecret
    • OnetimePasswordGeneratorFactory
      • CreateFactory
      • CreateNewPasswordGenerator
      • FromOtpUrl
      • GetOtpUrl
    • OnetimePasswordSecret
      • FromAscii
      • FromBase32
      • FromHex
      • ToBase32
    • Resource
    • Resource.Attribute
    • Resource.String
      • ApplicationName
      • Hello
    • Sha1HashAlgorithm
      • ComputeHash
      • Name
    • Sha256HashAlgorithm
      • ComputeHash
      • Name
    • Sha512HashAlgorithm
      • ComputeHash
      • Name
    • TimeBasedPasswordGenerator
      • MovingFactor
      • TimeBasedPasswordGenerator
      • TimeInterval
      • Timestamp
      • ValidUntilUtc

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 rfc6238 specification for TOTP.

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.

Back to top Copyright (c) 2017 Troy Willmot