Library OSP/Auth/TwoFactor

Package TwoFactor

Overview

Classes: Config, HOTPGenerator, SecretGenerator, TwoFactorService, TwoFactorServiceImpl

Classes

struct Config

 more...

class HOTPGenerator

This class generates HOTPs (HMAC-based One Time Passwords) according to RFC 4226more...

class SecretGenerator

This class generates a secret for HOTP/TOTP as described in RFC 4226more...

class TwoFactorService

This service helps to implement two-factor authentication using Time-based One-Time Passwords (TOTPs) specified in RFC 6238 and supported by Google Authenticator or Authy. more...

class TwoFactorServiceImpl

Default implementation of the TwoFactorService. more...